Edit the /etc/sudoers file:
sudo visudo
Add a line with the username (or %group):
username ALL=NOPASSWD: HALT, REBOOT, /usr/bin/apt-get, /usr/bin/aptitude
Note: HALT and REBOOT are aliases you can add in the sudoers file, like this:
# Cmnd alias specification
Cmnd_Alias REBOOT = /sbin/reboot
Cmnd_Alias HALT = /sbin/halt
Just do 'which halt' to find the path to the executable

2 comments:
The timepiece will represent watch number for the brand,
http://www.watchestoo.com
replica watches
rolex
rolex oyster perpetual datejust watch
rolex oyster perpetual datejust replica watch
rolex 18k
rolex stainless
AIR KING
DATEJUST
DAY DATE
DAYTONA
EXPLORER
GMT MASTER
JUBILEE DATEJUST LADIES
OYSTER PERPETUAL
thanks man i just needed it for a school project. :)
Post a Comment