Customization of Solaris Trusted Extensions (CDE)
In Solaris Trusted Extensions (CDE), users can add actions to the Front
Panel and customize the Workspace menu. Trusted Extensions software limits users' ability to
add programs and commands to CDE.
Front Panel Customization
Anyone can drag and drop a pre-existing action from the Application Manager to
the Front Panel, as long as the account performing the modification has the
action in its profile. Actions in the /usr/dt/ or /etc/dt/ directories can
be added to the Front Panel, but applications in the $HOME/.dt/appconfig
directory cannot. While users can use the Create Action action, they cannot write
into any of the directories where the system-wide actions are stored. Therefore, regular
users cannot create actions that are usable.
In Trusted Extensions, the actions' search path has been changed. Actions in any
individual's home directory are processed last instead of first. Therefore, no one can
customize existing actions.
The Security Administrator role is assigned the Admin Editor action, so can make
any needed modifications to the /usr/dt/appconfig/types/C/dtwm.fp file and the other configuration files for the
Front Panel subpanels.
Workspace Menu Customization
The Workspace Menu is the menu that appears when you click mouse
button 3 on the background of the workspace. Regular users can customize the
menu, and add items to the menu.
The following conditions apply when a user is allowed to work at
multiple labels:
The user must have a home directory in the global zone.
To save the customizations, processes in the global zone must be able to write to the user's home directory at the correct label. The zone path to a user home directory that is writable by global zone processes is similar to the following:
/zone/zone-name/home/username
The user must use the Customize Menu and Add Item to Menu options in a regular user workspace. The user can create a different customization for each label.
When the user assumes a role, changes to the Workspace Menu persist.
Changes that are made to the Workspace Menu are stored in the user's home directory at the current label. The customized menu file is .dt/wsmenu.
The user's rights profile must enable the user to run the desired action.
Any action that is added to the Workspace Menu must be handled by one of the user's rights profiles. Otherwise, the action fails when invoked and an error message is displayed.
For example, anyone with the Run action can double-click the icon for any executable and run it, even if the action or any commands that the action invokes are not in one of the account's rights profiles. By default, roles are not assigned the Run action. Therefore, any menu item that requires the Run action fails when executed by a role.