3.5.9 Setting a User Privilege
3.5.9 Setting a User Privilege
To set user privileges for a local user account saved in the XSCF, use the setprivileges command. Execute the setprivileges command with a user account that has the useradm privilege. For the types of user privileges, see Table 3-6.
- Execute the showuser command to display information on an enabled user account.
XSCF> showuser -p jsmith User Name: jsmith Privileges: None |
- Execute the setprivileges command to assign a user privilege to the user account.
The following example assigns the user privileges useradm and auditadm to the jsmith user account.
XSCF> setprivileges jsmith useradm auditadm |
Note - The setprivileges command assigns the user privilege of the specified operand. To add a new user privilege to a user account already assigned a user privilege, specify the existing user privilege too. |
- Execute the showuser command, and confirm the user privileges.
XSCF> showuser -p jsmith User Name: jsmith Privileges: useradm auditadm |
< Previous Page | Next Page >