JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Trusted Extensions Administrator's Procedures
search filter icon
search icon

Document Information

Preface

1.  Trusted Extensions Administration Concepts

2.  Trusted Extensions Administration Tools

3.  Getting Started as a Trusted Extensions Administrator (Tasks)

4.  Security Requirements on a Trusted Extensions System (Overview)

5.  Administering Security Requirements in Trusted Extensions (Tasks)

Common Tasks in Trusted Extensions (Task Map)

How to Assign the Editor of Your Choice as the Trusted Editor

How to Change the Password for root

How to Regain Control of the Desktop's Current Focus

How to Obtain the Hexadecimal Equivalent for a Label

How to Obtain a Readable Label From Its Hexadecimal Form

How to Change Security Defaults in System Files

6.  Users, Rights, and Roles in Trusted Extensions (Overview)

7.  Managing Users, Rights, and Roles in Trusted Extensions (Tasks)

8.  Remote Administration in Trusted Extensions (Tasks)

9.  Trusted Extensions and LDAP (Overview)

10.  Managing Zones in Trusted Extensions (Tasks)

11.  Managing and Mounting Files in Trusted Extensions (Tasks)

12.  Trusted Networking (Overview)

13.  Managing Networks in Trusted Extensions (Tasks)

14.  Multilevel Mail in Trusted Extensions (Overview)

15.  Managing Labeled Printing (Tasks)

16.  Devices in Trusted Extensions (Overview)

17.  Managing Devices for Trusted Extensions (Tasks)

18.  Trusted Extensions Auditing (Overview)

19.  Software Management in Trusted Extensions (Tasks)

A.  Quick Reference to Trusted Extensions Administration

B.  List of Trusted Extensions Man Pages

Index

Common Tasks in Trusted Extensions (Task Map)

The following task map describes procedures that set up a working environment for administrators of Trusted Extensions.

Task
Description
For Instructions
Change the editor program for the trusted editor.
Specify the editor for administrative files.
Change the password for root.
Specify a new password for the root user, or for the root role.
Change the password for a role.
Specifies a new password for your current role.
Use the Secure Attention key combination.
Gets control of the mouse or keyboard. Also, tests whether the mouse or keyboard is trusted.
Determine the hexadecimal number for a label.
Displays the internal representation for a text label.
Determine the text representation for a label.
Displays the text representation for a hexadecimal label.
Edit system files.
Securely edits Oracle Solaris or Trusted Extensions system files.
Allocate a device.
Uses a peripheral device to add information to or remove information from the system.
Administer a host remotely.
Administers Oracle Solaris or Trusted Extensions hosts from a remote host.

How to Assign the Editor of Your Choice as the Trusted Editor

The trusted editor uses the value of the $EDITOR environment variable as its editor.

Before You Begin

You must be in a role in the global zone.

  1. Determine the value of the $EDITOR variable.
    # echo $EDITOR

    The following are editor possibilities. The $EDITOR variable might also not be set.

    • /usr/dt/bin/dtpad – Is the editor that CDE provides.

    • /usr/bin/gedit – Is the editor that Java Desktop System, Release number provides. Solaris Trusted Extensions (JDS) is the trusted version of that desktop.

    • /usr/bin/vi – Is the visual editor.

  2. Set the value of the $EDITOR variable.
    • To set the value permanently, modify the value in the shell initialization file for the role.

      For example, in the role's home directory, modify the .kshrc file for a Korn shell, and the .cshrc file for a C shell.

    • To set the value for the current shell, set the value in the terminal window.

      For example, in a Korn shell, use the following commands:

      # setenv EDITOR=pathname-of-editor
      # export $EDITOR

      In a C shell, use the following command:

      # setenv EDITOR=pathname-of-editor

      In a Bourne shell, use the following commands:

      # EDITOR=pathname-of-editor
      # export EDITOR

Example 5-1 Specifying the Editor for the Trusted Editor

The Security Administrator role wants to use vi when editing system files. A user who has assumed the role modifies the .kshrc initialization file in the role's home directory.

$ cd /home/secadmin
$ vi .kshrc

## Interactive shell
set -o vi
...
export EDITOR=vi

The next time that any user assumes the Security Administrator role, vi is the trusted editor.

How to Change the Password for root

The Security Administrator role is authorized to change any account's password at any time by using the Solaris Management Console. However, the Solaris Management Console cannot change the password of a system account. A system account is an account whose UID is below 100. root is a system account because its UID is 0.

  1. Become superuser.

    If your site has made superuser into the root role, assume the root role.

  2. Choose Change Password from the Trusted Path menu.
    • In Trusted JDS, click the trusted symbol in the trusted stripe.

      From the trusted path menu, choose Change Password.


      The illustration shows the trusted symbol and the Trusted Path menu in Trusted JDS.
    • In Solaris Trusted Extensions (CDE), open the Trusted Path menu.
      1. Click mouse button 3 over the workspace switch area.
      2. Choose Change Password from the Trusted Path menu.

      The illustration shows the Trusted Path menu in Trusted CDE.
  3. Change the password, and confirm the change.

Example 5-2 Changing the Password for a Role

Any user who can assume a role that is defined in LDAP can use the Trusted Path menu to change the password for the role. The password is then changed in LDAP for all users who attempt to assume the role.

As in the Oracle Solaris OS, the Primary Administrator role can change the password for a role by using the Solaris Management Console. In Trusted Extensions, the Security Administrator role can change another role's password by using the Solaris Management Console.

How to Regain Control of the Desktop's Current Focus

The “Secure Attention” key combination can be used to break a pointer grab or a keyboard grab by an untrusted application. The key combination can also be used to verify if a pointer or a keyboard has been grabbed by a trusted application. On a multiheaded system that has been spoofed to display more than one trusted stripe, this key combination warps the pointer to the authorized trusted stripe.

  1. To regain control of a Sun keyboard, use the following key combination.

    Press the keys simultaneously to regain control of the current desktop focus. On the Sun keyboard, the diamond is the Meta key.

    <Meta> <Stop>

    If the grab, such as a pointer, is not trusted, the pointer moves to the stripe. A trusted pointer does not move to the trusted stripe.

  2. If you are not using a Sun keyboard, use the following key combination.
    <Alt> <Break>

    Press the keys simultaneously to regain control of the current desktop focus on your laptop.

Example 5-3 Testing If the Password Prompt Can Be Trusted

On an x86 system that is using a Sun keyboard, the user has been prompted for a password. The cursor has been grabbed, and is in the password dialog box. To check that the prompt is trusted, the user presses the <Meta> <Stop> keys simultaneously. When the pointer remains in the dialog box, the user knows that the password prompt is trusted.

If the pointer had moved to the trusted stripe, the user would know that the password prompt could not be trusted, and contact the administrator.

Example 5-4 Forcing the Pointer to the Trusted Stripe

In this example, a user is not running any trusted processes but cannot see the mouse pointer. To bring the pointer to the center of the trusted stripe, the user presses the <Meta> <Stop> keys simultaneously.

How to Obtain the Hexadecimal Equivalent for a Label

This procedure provides an internal hexadecimal representation of a label. This representation is safe for storing in a public directory. For more information, see the atohexlabel(1M) man page.

Before You Begin

You must be in the Security Administrator role in the global zone. For details, see How to Enter the Global Zone in Trusted Extensions.

Example 5-5 Using the atohexlabel Command

When you pass a valid label in hexadecimal format, the command returns the argument.

$ atohexlabel 0x0004-08-68
0x0004-08-68

When you pass an administrative label, the command returns the argument.

$ atohexlabel admin_high
ADMIN_HIGH
atohexlabel admin_low
ADMIN_LOW
Troubleshooting

The error message atohexlabel parsing error found in <string> at position 0 indicates that the <string> argument that you passed to atohexlabel was not a valid label or clearance. Check your typing, and check that the label exists in your installed label_encodings file.

How to Obtain a Readable Label From Its Hexadecimal Form

This procedure provides a way to repair labels that are stored in internal databases. For more information, see the hextoalabel(1M) man page.

Before You Begin

You must be in the Security Administrator role in the global zone.

How to Change Security Defaults in System Files

In Trusted Extensions, the security administrator changes or accesses default security settings on a system.

Files in the /etc/security and /etc/default directories contain security settings. On an Oracle Solaris system, superuser can edit these files. For Oracle Solaris security information, see Chapter 3, Controlling Access to Systems (Tasks), in System Administration Guide: Security Services.


Caution

Caution - Relax system security defaults only if site security policy allows you to.


Before You Begin

You must be in the Security Administrator role in the global zone.