Voder-Vocoder

The Log of Hal Canary

Navigation: Home | THE LOG | Log Archives | Resume | Contact Info | Public Key | SSL | Math Applets | Site Map | WP Backend | RSS2 | Atom

« 9 pounds of bacon | the diet »

/etc/sudoers

Because the syntax of the /etc/sudoers file is obscure, I’m noting down here exactly what I’ve done to mine:

root	ALL=(ALL) ALL
%admin ALL=(ALL) ALL
%admin ALL=NOPASSWD: /usr/bin/wodim
%admin ALL=NOPASSWD: /usr/bin/apt-get
%admin ALL=NOPASSWD: /sbin/reboot
%admin ALL=NOPASSWD: /sbin/poweroff

This allows a few commonly used commands to be executed without a password.

Hal Canary | Computers & Code | 2008-08-08 07:46:24 EDT
Permanent Link | No Comments

Comments are closed.

Copyright 1997-2007 by Hal Canary.
mailto: h3 at halcanary dot org
xmpp:halcanary@jabber.org
aim:halwcanary
http://halcanary.org