www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown
 Navigation

sudo sudoers quick reference - Last Modified 2012-06-11 14:21 UTC - Created 2012-06-11 14:21 UTC

The man page (http://www.sudo.ws/sudo/sudo.html) has lots of good info, but is a little hard to read.

sudo visudo

/etc/sudoers

userList	hostList	=	(runasUserList : optRunasGroupList)	optTagList	cmdList

Commands

sudo -u user cmd

sudo -i -u user
Runs full login shell with updated environment variables