Is there a way to remove the Shut Down option from the login window on Mac OS X (10.11.x) while preserving the ability to restart?
I don't know what the
defaults write command is, but Mac Pilot can do this by setting this:
I just confirmed it works in 10.11.5 without needing a reboot.
I figured out the
sudo defaults write /Library/Preferences/com.apple.loginwindow ShutDownDisabled -bool true
Afterwards, the command
sudo defaults read /Library/Preferences/com.apple.loginwindow ShutDownDisabled