Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my CentOS5 installation in KDE, users get presented the options to terminate the session, reboot, and shutdown. Since this computer should always remain on, I'd like to remove the reboot and shutdown option from the menu to avoid an accidential reboot. How do I do this?

share|improve this question

You do this with the AllowShutdown none setting in the system kdmrc file, which can be found in /usr/share/config/kdm/.

See http://docs.kde.org/stable/en/kdebase-workspace/kdm/kdm-files.html for more details.

share|improve this answer
I've replaced the two instances of "AllowShutdown" to "none", but when I select "Logout..." from the start-menu (or whatever KDE calls it), I still get all the option as user. – Jonas Oct 15 '11 at 2:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.