View Full Version : [all variants] hiding root stuff

July 22nd, 2008, 05:35 PM
hey i have fluxbox and i have this code to shutdown my computer

{xterm -e sudo shutdown -h now}

and what happens is xterm pops up and asks for my root password.. then shutsdown the computer...

is there a way to do it so xterm doesnt pop up and asks for my password?
so it just shuts down...?

July 22nd, 2008, 05:38 PM
http://ubuntuforums.org/showthread.php?t=134968 <-- turn of root only shutdown :P