Random Wisdom

Linux – Disable Shutdown For Normal Users

by 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:

  1. Uninstall gnome-power-manager
  2. 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.

:, ,

Leave a Reply