Linux – Disable Shutdown For Normal Users
by Mostafa on Feb.27, 2007, under How To ..., Linux
Very useful for servers/shared machines:
Disable Shutdown For Normal Users
Addendum:
Setting file mode for /etc/acpi/events/power.conf to “0000” is not sufficient to disable the power button. It’s better to:
- Uninstall gnome-power-manager
- Leave file permissions for power.conf unchanged and simply set the action= line to an empty string
It is also advisable to set the local login screen style to plain in gdmsetup.