On 12/11/05, Rony Bill ronbillypop@yahoo.co.uk wrote:
- I installed sudo but configuring the sudoers file is a little
complex. The sudoers example site http://www.courtesan.com/sudo/sample.sudoers has detailed explanation but how would I add a line to allow, say user1 to give sudo commands without a password? Do I need to reboot or login again?
Any help, tips and tricks would be highly appreciated. :)
#------------------ From Here ------------------
# Defaults
Defaults !lecture,tty_tickets,!fqdn
# User privilege specification root ALL=(ALL) ALL
# Members of the admin group may gain root privileges %admin ALL=(ALL) ALL
# "bhai" can access all commands on all hosts without entering # a password
bhai ALL=NOPASSWD: ALL
#-------------------- To Here --------------------
is enough for me.
revant