I am using Debian Squeeze Testing and I wanted to allow myself to shutdown without entering root password. To do so, I just executed the following as root:
chmod +s /sbin/reboot chmod +s /sbin/halt
Note that this will allow any user to shutdown.
Experiences of a generic programmer
I am using Debian Squeeze Testing and I wanted to allow myself to shutdown without entering root password. To do so, I just executed the following as root:
chmod +s /sbin/reboot chmod +s /sbin/halt
Note that this will allow any user to shutdown.