[sudo-users] switch to another user
jamie.beverly at yahoo.com
Fri May 8 13:46:48 EDT 2009
Host_Alias MYHOSTS = *.example.com
User_Alias KIRK_USERS = spock
Cmnd_Alias SHELLS = /bin/bash, /bin/sh, /bin/csh, /bin/tcsh
KIRK_USERS MYHOSTS = (kirk) NOPASSWD: SHELLS
# end of sudoers
Then Spock would run:
sudo -u kirk -s
Sent from my iPhone
On May 8, 2009, at 5:29 AM, Bernard Fay <bernard.fay at gmail.com> wrote:
Using sudo, is it possible to allow a regular user to switch to another
regular user without a password?
In other words spock needs to switch to user kirk, and only kirk, without a
I try to do something like sudo kirk or sudo -i kirk.
Is it possible? If yes how?
sudo-users mailing list <sudo-users at sudo.ws>
For list information, options, or to unsubscribe, visit:
More information about the sudo-users