[sudo-users] switch to another user

Russell Van Tassell russell+sudo-users at loosenut.com
Fri May 8 12:31:40 EDT 2009


I think the command you're looking for is "su" (switch user).  But then
you'll have to limit arguments to it.

On Fri, May 08, 2009 at 08:29:27AM -0400, Bernard Fay wrote:
> Hi,
> 
> 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
> password.
> 
> I try to do something like sudo kirk or sudo -i kirk.
> 
> Is it possible? If yes how?
> 
> Thanks
> Bernard

-- 
Russell M. Van Tassell
russell at loosenut.com

While money can't buy happiness, it certainly lets you choose your own
form of misery.



More information about the sudo-users mailing list