Disallow Normal User Reboot/Shutdown

Are your end users accidently on purpose rebooting/shuting down your machines? Here's how to fix that...

Disable reboot from Gnome/KDE:
# gdmsetup (or maybe gdmconfig)
    uncheck show actions menu.


in /etc/inittab (near line 53)
  Change:
    # Trap CTRL-ALT-DELETE
    ca::ctrlaltdel:/sbin/shutdown -t3 -r now
  To:
    # Disallow CTRL-ALT-DELETE
    ca::ctrlaltdel:/bin/echo "ctrl-alt-delete has been disabled"


Rename
    /etc/security/console.apps/poweroff
    /etc/security/console.apps/reboot
  to
    /etc/security/console.apps/poweroff.disabled
    /etc/security/console.apps/reboot.disabled


I also made a new reboot command in /usr/bin, the original is a symlink: 
    /usr/bin/reboot -> consolehelper

    This is what I did:
    mv /usr/bin/reboot /usr/bin/reboot.disabled
    # echo "/sbin/shutdown -r now" > /usr/bin/reboot
    # chmod 750 /usr/bin/reboot

Enjoy!