I installed Ubuntu in Kiosk mode in a library and I want it to re-start between users. Users always forget to shut down computer. Is it possible to have the computer shut down or reboot automatically, instead of sleeping or hibernating? Thanks.
You can use
sleepd command to and
-s option to modify the action upon inactivity.
Install it using:
sudo apt-get install sleepd sleepd [-s command] -u300
Visit sleepd manpage for more info.