Installation Notes
To install .deb package:
1. Browse to the folder where .deb package is saved.
2. Execute the following command from a console window:
sudo dpkg -i autoShut_1.0-0ubuntu1.deb
To uninstall .deb package:
1. Open a console window and execute the following command:
sudo apt-get --purge remove autoShut
To execute .jar file:
1. Browse to the folder where .jar file is saved.
2. Execute the following command from a console window:
java -jar autoShut.jar
Post-Installation Notes
To run autoShut, user must be able to run the shutdown command without providing the root password. To do so:
1. Execute the following command from a console window:
sudo visudo
2. At the end of the /etc/sudoers file add the following:
#allow all users to shutdown and reboot without providing su passwd
current-user ALL=(ALL) NOPASSWD: /sbin/shutdown#(e.g. kostas ALL=(ALL) NOPASSWD: /sbin/shutdown )
3. Press ctrl+X to save and exit. autoShut is ready to use now.