Users are automatically logged in to the N1 System Manager with their default role.
The default role for the root user is automatically set to Admin after you reboot the management server or if you restart the N1 System Manager. It is still possible to set the root user's default role to a different role, but this is not a permanent assignment.
Log in to the N1 System Manager.
See To Access the N1 System Manager Command Line for details.
Show which roles are added to the user.
N1-ok> show user user |
You must have the SecurityAdmin role's privileges to run this command. See show user in Sun N1 System Manager 1.2 Command Line Reference Manual for details.
Set a user's default role.
N1-ok> set user user defaultrole defaultrole |
See set user in Sun N1 System Manager 1.2 Command Line Reference Manual for details.
The following example shows setting the SecurityAdmin role as the default role for the root user.
N1-ok> show user root Name: root Default Role: Admin Roles: SecurityAdmin, ReadOnly, Admin N1-ok> set user root defaultrole SecurityAdmin |