Revision [2155]

Last edited on 2009-01-15 23:58:41 by WikiAdmin
Additions:
# command with arguments
jane ALL=(ALL) NOPASSWD: /usr/bin/vi /etc/passwd


Revision [1696]

Edited on 2008-04-19 11:45:41 by WikiAdmin
Additions:
smith ALL=(ALL) NOPASSWD: BASHSOUND, PASSWD:/usr/bin/tcsh
Another example to allow sudo to another user, other than root:
smith ALL = (testusr) NOPASSWD: /testsudo.sh
To run, do this:
sudo -u testusr /testsudo.sh
Deletions:
smith ALL=(ALL) NOPASSWD: BASHSOUND


Revision [1610]

Edited on 2008-04-07 09:46:37 by WikiAdmin
Additions:
# Allow user to run certain commands w/o password
Deletions:
# Allow user to run certain commands


Revision [1609]

Edited on 2008-04-07 09:46:28 by WikiAdmin
Additions:
# Allow root to run any commands anywhere
# Allow user to run certain commands
Cmnd_Alias BASHSOUND = /bin/bash, /usr/local/bin/cmictl
smith ALL=(ALL) NOPASSWD: BASHSOUND
Deletions:
## Allow root to run any commands anywhere


Revision [798]

Edited on 2007-07-24 03:57:55 by WikiAdmin
Additions:
On systems where su cannot be granted, sudo is a good alternative. Simply do a sudo bash gives you virtually the same thing as "su -"
Deletions:
On systems where su cannot be granted, sudo is a good alternative. Simply do a sudo bash gives you almost the same thing as "su -"


Revision [797]

The oldest known version of this page was created on 2007-07-24 03:57:41 by WikiAdmin
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki