This section describes how to manually set lockdown preferences. You can also set GConf keys to disable features. You can access the GConf editor by issuing the gconf-editor command or edit GConf keys at the command line. For information about how to set GConf keys, see Managing User Preferences With GConf.
To disable the lock screen function, set the /apps/panel/global/disable_lock_screen key to true. When you disable the lock screen function, the following items are removed from the panels:
Lock Screen menu item from the Main Menu
Lock menu items from the Add to Panel → Actions menu
Lock Screen menu item from the Actions menu in the Menu Bar applet
Also, any Lock Screen buttons on panels are disabled.
To disable the log out function, set the /apps/panel/global/disable_log_out key to true. When you disable the log out function, the following items are removed from the panels:
Log Out user menu item from the Main Menu
Log Out menu item from the Add to Panel → Actions menu
Log Out user menu item from the Actions menu in the Menu Bar applet
Also, any Lock Screen buttons on panels are disabled.