Create a role definition for temporarily running as root

After you have defined the right to switch to the root user, you can create a role definition for that right.

To create a role definition with the right to run the emergency_access command:

  1. Open Access Manager.
  2. Expand Zones and the individual parent or child zones required to select the zone name where you want to create the new role definition.
  3. Expand Authorization.
  4. Select Role Definitions, right-click, then click Add Role.
  5. Type a name and description for the new role.

    For example, type a name such as emergency_access and descriptive text such as Users with this role can temporarily run commands with root privileges.

  6. Click Available Times to specify days of the week or select times of the day for making the role definition available.

    For example, you might want to allow access only on Friday, Saturday, and Sunday and deny access the rest of the week. After you have set the days and times for the role definition to be available, click OK.

  7. Click OK to save the role definition.
  8. Select the new role definition, right-click, then click Add Right.
  9. Select the emergency_access command you defined for switching to the root user, then click OK.

    To use this role, a user must be assigned to the UNIX Login role for the zone or a role definition that has, at a minimum, the following System Rights:

    • Password login and non-password (SSO) login are allowed
    • Login with non-Restricted Shell