3

runas or sudo equivalent on AS400 ibm iSeries (invoke it via java code)

view full story
linux-howto

http://serverfault.com – I am trying to invoke a program to run as another user(by getting input user/pwd) in AS400 OS using Java. Like runas in windows or sudo in unix, what can we do in AS400 OS? I am able to invoke basic unix commands like find,cd,ls etc through java on AS400. I have very restricted access on the experimental AS400 sandbox provided to me. So I am not sure if sudo command through java will work when ran as admin. I think on AS400 console STRQSH or QSH is a custom build program and all unix commands are not supported. Hence I am clueless about what is the correct and concert way of doing it ? Any gu (HowTos)