In Trusted Extensions, you must use the Solaris Management Console to administer users, authorizations, rights, and roles. To manage users and their security attributes, assume the Security Administrator role. The following task map describes common tasks that you perform for users who operate in a labeled environment.
Task |
Description |
For Instructions |
---|---|---|
Modify a user's label range. |
Modifies the labels at which a user can work. Modifications can restrict or extend the range that the label_encodings file permits. |
How to Modify a User's Label Range in the Solaris Management Console |
Create a rights profile for convenient authorizations. |
Several authorizations exist that might be useful for regular users. Creates a profile for users who qualify to have these authorizations. |
How to Create a Rights Profile for Convenient Authorizations |
Modify a user's default privilege set. |
Removes a privilege from the user's default privilege set. | |
Prevent account locking for particular users. |
Users who can assume a role must have account locking turned off. | |
Enable a user to relabel data. |
Authorizes a user to downgrade information or upgrade information. | |
Remove a user from the system. |
Completely removes a user and the user's processes.. |
How to Delete a User Account From a Trusted Extensions System |
Handle other tasks. |
Uses the Solaris Management Console to handle tasks that are not specific to Trusted Extensions. |
Handling Other Tasks in the Solaris Management Console (Task Map) |
You might want to extend a user's label range to give the user read access to an administrative application. For example, a user who can log in to the global zone could then run the Solaris Management Console. The user could view, but not not change the contents.
Alternatively, you might want to restrict the user's label range. For example, a guest user might be limited to one label.
You must be in the Security Administrator role in the global zone.
Open a Trusted Extensions toolbox in the Solaris Management Console.
Use a toolbox of the appropriate scope. For details, see Initialize the Solaris Management Console Server in Trusted Extensions in Oracle Solaris Trusted Extensions Configuration Guide.
Under System Configuration, navigate to User Accounts.
A password prompt might be displayed.
Type the role password.
Select the individual user from User Accounts.
Click the Trusted Extensions Attributes tab.
To save the changes, click OK.
Where site security policy permits, you might want to create a rights profile that contains authorizations for users who can perform tasks that require authorization. To enable every user of a particular system to be authorized, see How to Modify policy.conf Defaults.
You must be in the Security Administrator role in the global zone.
Open a Trusted Extensions toolbox in the Solaris Management Console.
Use a toolbox of the appropriate scope. For details, see Initialize the Solaris Management Console Server in Trusted Extensions in Oracle Solaris Trusted Extensions Configuration Guide.
Under System Configuration, navigate to Rights.
A password prompt might be displayed.
Type the role password.
To add a rights profile, click Action –> Add Right.
Create a rights profile that contains one or more of the following authorizations.
For the step-by-step procedure, see How to Create or Change a Rights Profile in System Administration Guide: Security Services.
In the following figure, the Authorizations Included window shows the authorizations that might be convenient for users.
Allocate Device – Authorizes a user to allocate a peripheral device, such as a microphone.
By default, Solaris users can read and write to a CD-ROM. However, in Trusted Extensions, only users who can allocate a device can access the CD-ROM drive. To allocate the drive for use requires authorization. Therefore, to read and write to a CD-ROM in Trusted Extensions, a user needs the Allocate Device authorization.
Downgrade DragNDrop or CutPaste Info – Authorizes a user to select information from a higher-level file and place that information in a lower-level file.
Downgrade File Label – Authorizes a user to lower the security level of a file
DragNDrop or CutPaste without viewing contents – Authorizes a user to move information without viewing the information that is being moved.
Print Postscript – Authorizes a user to print PostScript files.
Print without Banner - Authorizes a user to print hard copy without a banner page.
Print without Label – Authorizes a user to print hard copy that does not display labels.
Remote Login – Authorizes a user to remotely log in.
Shutdown the System – Authorizes a user to shut down the system and to shut down a zone.
Upgrade DragNDrop or CutPaste Info – Authorizes a user to select information from a lower-level file and place that information in a higher-level file.
Upgrade File Label – Authorizes a user to heighten the security level of a file.
Assign the rights profile to a user or a role.
For assistance, see the online help. For the step-by-step procedure, see How to Change the RBAC Properties of a User in System Administration Guide: Security Services.
In the following example, the Security Administrator allows a role to print jobs without labels on body pages.
In the Solaris Management Console, the security administrator navigates to Administrative Roles. She views the rights profiles that are included in a particular role, then ensures that the print-related authorizations are contained in one of the role's rights profiles.
Site security might require that users be permitted fewer privileges than users are assigned by default. For example, at a site that uses Trusted Extensions on Sun Ray systems, you might want to prevent users from viewing other users' processes on the Sun Ray server.
You must be in the Security Administrator role in the global zone.
Open a Trusted Extensions toolbox in the Solaris Management Console.
Use a toolbox of the appropriate scope. For details, see Initialize the Solaris Management Console Server in Trusted Extensions in Oracle Solaris Trusted Extensions Configuration Guide.
Under System Configuration, navigate to User Accounts.
A password prompt might be displayed.
Type the role password.
Double–click the icon for the user.
Remove one or more of the privileges in the basic set.
Double-click the icon for the user.
Click the Rights tab.
Click the Edit button to the right of the basic set in the right_extended_attr field.
Remove proc_session or file_link_any.
By removing the proc_session privilege, you prevent the user from examining any processes outside the user's current session. By removing the file_link_any privilege, you prevent the user from making hard links to files that are not owned by the user.
Do not remove the proc_fork or the proc_exec privilege. Without these privileges, the user would not be able to use the system.
To save the changes, click OK.
Trusted Extensions extends the user security features in the Solaris Management Console to include account locking. Turn off account locking for users who can assume a role.
You must be in the Security Administrator role in the global zone.
Start the Solaris Management Console.
Use a toolbox of the appropriate scope. For details, see Initialize the Solaris Management Console Server in Trusted Extensions in Oracle Solaris Trusted Extensions Configuration Guide.
Under System Configuration, navigate to User Accounts.
A password prompt might be displayed.
Type the role password.
Double–click the icon for the user.
Click the Trusted Extensions Attributes tab.
In the Account Usage section, choose No from the pull-down menu next to Lock account after maximum failed logins.
To save the changes, click OK.
A regular user or a role can be authorized to change the security level, or labels, of files and directories. The user or role, in addition to having the authorization, must be configured to work at more than one label. And, the labeled zones must be configured to permit relabeling. For the procedure, see How to Enable Files to be Relabeled From a Labeled Zone.
Changing the security level of data is a privileged operation. This task is for trustworthy users only.
You must be in the Security Administrator role in the global zone.
Follow the procedure How to Create a Rights Profile for Convenient Authorizations to create a rights profile.
The following authorizations enable a user to relabel a file:
Downgrade File Label
Upgrade File Label
The following authorizations enable a user to relabel information within a file:
Downgrade DragNDrop or CutPaste Info
DragNDrop or CutPaste Info Without Viewing
Upgrade DragNDrop or CutPaste Info
Use the Solaris Management Console to assign the profile to the appropriate users and roles.
For assistance, use the online help. For a step-by-step procedure, see How to Change the RBAC Properties of a User in System Administration Guide: Security Services.
When a user is removed from the system, you must ensure that the user's home directory and any objects that the user owns are also deleted. As an alternative to deleting objects that are owned by the user, you might change the ownership of these objects to a valid user.
You must also ensure that all batch jobs that are associated with the user are also deleted. No objects or processes belonging to a removed user can remain on the system.
You must be in the System Administrator role.
Archive the user's home directory at every label.
Archive the user's mail files at every label.
In the Solaris Management Console, delete the user account.
Open a Trusted Extensions toolbox in the Solaris Management Console.
Use a toolbox of the appropriate scope. For details, see Initialize the Solaris Management Console Server in Trusted Extensions in Oracle Solaris Trusted Extensions Configuration Guide.
Under System Configuration, navigate to User Accounts.
A password prompt might be displayed.
Type the role password.
Select the user account to be removed, and click the Delete button.
You are prompted to delete the user's home directory and mail files. When you accept the prompt, the user's home directory and mail files are deleted in the global zone only.
In every labeled zone, manually delete the user's directories and mail files.
You are responsible for finding and deleting the user's temporary files at all labels, such as files in /tmp directories.