1.
Open OnyX, and enter your password.
2.
Click the Parameters toolbar button, and select the Finder tab.
3.
To the right of the "Apple menu" title, deselect the "Turn off the Restart, Shut Down, and Log Out menu items" checkbox.