On Tuesday 14 September 2004 13:38, Pradeeper wrote: > Hi All > > Is there a way to shutdown my Debian Sarge box without giving root > password (as a normal user)?
#apt-get install sudo ...and then edit /etc/sudoers to something similar: (this gives user "alex" shutdown/reboot privileges) # Cmnd alias specification Cmnd_Alias SHUT = /sbin/poweroff, /sbin/reboot # User privilege specification root ALL=(ALL) ALL alex ALL=(ALL) NOPASSWD: SHUT -A -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]