[sudo-users] Fwd: switch to another user
bernard.fay at gmail.com
Sat May 9 17:34:36 EDT 2009
It words exactly as needed!
---------- Forwarded message ----------
From: Jamie Beverly <jamie.beverly at yahoo.com>
Date: Fri, May 8, 2009 at 1:46 PM
Subject: Re: [sudo-users] switch to another user
To: Bernard Fay <bernard.fay at gmail.com>
Cc: "sudo-users at sudo.ws" <sudo-users at sudo.ws>
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