shell script how to switch users?

Mike azmr at earthlink.net
Thu Jan 4 14:37:59 UTC 2007


On Thu, 4 Jan 2007, Rajiv Jaisankar wrote:

>
> Hi,
> Thanks a lot for your quick responses.  After executing su - user2 -c
> script . I am asked for password for user2. Is there any way through
> we can we specify password too with this command.
> - Rajiv
>

man sudo




More information about the fedora-list mailing list