Submitted by patrik on Thu, 2005-08-18 00:45

What is MyShutdown?
- A simple Gtk interface to the system commands 'halt' and 'reboot'
How do I install it?
- Run 'gcc -Wall -g $1.c -o $1 `gtk-config --cflags` `gtk-config --libs` myshutdown.c'.
Move the binary 'cdmount' to for example /usr/local/bin.
Move configurationfile 'myshutdown.conf' to /etc.
Who wrote it?
- Me, Patrik Hermansson.
Is it GPL'ed?
- Yes indeed.
Where do I find new versions, help etc?
What about sudo? Can normal users run 'halt' and 'reboot'?
- No, normal users can't run these commands. Because of this, Sudo has to be installed. (
Install it, and edit the configuration by running 'visudo' as root.
Add the line 'ALL ALL=NOPASSWD:/sbin/halt' and 'ALL ALL=NOPASSWD:/sbin/reboot'
to the end of the file. This makes it possible for all users to run the commands.