How to disable Shutdown and Reboot for low level users in Ubuntu
I have a Linux machine used by my Wife and children and I wanted to remove the ability for them to shutdown or reboot the PC when they log off. I normally am in the process of downloading or have others things running in another session, shutting down terminates any process or applications that are running in other sessions.
Looking around Google I found this link Shutdown disable
Basically you open a Terminal session and type the command "sudo gdmsetup" and you get the following screen.
Choose the Local Tab (second tab) and at the bottom of the screen is a section called "Menu Bar".
In the Menu Bar section is a tick box labeled "Show Actions menu". If you untick this box users can no longer see the options to reboot or shutdown.

