sudo sudoers quick reference

Last Modified: Mon, 11 Jun 2012 14:21:03 +0000 ; Created: Mon, 11 Jun 2012 14:21:03 +0000

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