Mac OS X Server

62 Chapter 5 Setting General System Preferences
Viewing and Changing the Login Settings
You can enable or disable the Restart and Shutdown buttons that appear in the login
dialog.
To disable or enable the Restart and Shutdown buttons in the login dialog:
$ sudo serversetup -setDisableRestartShutdown (0|1)
0
disables the buttons and 1 enables the buttons.
To view the current setting:
$ serversetup -getDisableRestartShutdown