Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

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

1 Answer 1

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

See 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.