Take the 2-minute tour ×
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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.