PDA

View Full Version : help...


hiba_t
09-03-02, 03:35
Hi, I need to know if there is a way to write a script that could change the user (maybe by using su command) but without having to pass the password as a parameter ?
Please help..

Bernd Dulfer
09-03-02, 07:19
Originally posted by hiba_t
Hi, I need to know if there is a way to write a script that could change the user (maybe by using su command) but without having to pass the password as a parameter ?

Checkout the sudo command.
Manpage at http://www.courtesan.com/sudo/man/sudo.html