To create a role, you must either assume a role that has the Primary Administrator rights profile assigned to it or run as root user.
Start the Administrative Roles tool.
To run the Administrative Roles tool, start the Solaris Management Console, as described in How to Assume a Role in the Solaris Management Console in System Administration Guide: Security Services. Then, open the User Tool Collection, and click the Administrative Roles icon.
Start the Add Administrative Role wizard.
Select Add Administrative Role from the Action menu to start the Add Administrative Role wizard for configuring roles.
Set up a role to which the Cluster Management rights profile is assigned.
Use the Next and Back buttons to navigate between dialog boxes. Note that the Next button does not become active until you have filled in all required fields. The last dialog box enables you to review the entered data, at which point you can use the Back button to change entries or click Finish to save the new role. The following list summarizes the dialog box fields and buttons.
Short name of the role.
Long version of the name.
Description of the role.
UID for the role, automatically incremented.
The profile shells that are available to roles: Administrator's C, Administrator's Bourne, or Administrator's Korn shell.
Makes a mailing list for users who are assigned to this role.
Assigns or removes a role's rights profiles.
Note that the system does not prevent you from typing multiple occurrences of the same command. The attributes that are assigned to the first occurrence of a command in a rights profile have precedence and all subsequent occurrences are ignored. Use the Up and Down arrows to change the order.
Server for the home directory.
Home directory path.
Adds users who can assume this role. Must be in the same scope.
Deletes users who are assigned to this role.
You need to place this profile first in the list of profiles that are assigned to the role.
Add users who need to use the Sun Cluster Manager features or Sun Cluster commands to the newly created role.
You use the useradd(1M) command to add a user account to the system. The -P option assigns a role to a user's account.
Click Finish when you have added the users.
Open a terminal window and become root.
Start and stop the name service cache daemon.
The new role does not take effect until the name service cache daemon is restarted. After becoming root, type the following text:
# /etc/init.d/nscd stop # /etc/init.d/nscd start |