To disable operations from a command line, set the /desktop/gnome/lockdown/disable_command_line key to true.
When you disable command line operations, the following items are removed from the panels:
Any menu items that contain the following commands:
Terminal
command, that is /usr/bin/gnome-terminal
/usr/bin/xterm
/usr/bin/setterm
The items are removed from the following menus:
Main Menu
Add to Panel -> Launcher from menu
Command Line
panel application
from the Main Menu and the Add to
Panel -> Utility menu.
Run Application menu item, from the following menus:
Main Menu
Actions submenu in the Add to Panel menu
Actions menu in the Menu Bar
panel application