[SunHELP] help on script writing

MUHAMED, Mohd. Khairul sunhelp at sunhelp.org
Wed Dec 5 01:27:56 CST 2001


Hi all,

If I want to su to another user in a script, how do I write it in a shell
script?

The 'su - otheruser' is easy but how do I write/supply the password to the
password prompt.


thanks
khairul



More information about the SunHELP mailing list