User's Manual
Using the RACADM Command Line Interface 79
Example
The following example describes how to add a new user named "John" with a
"123456" password and LOGIN privilege to the CMC.
NOTE: See Table B-1 for a list of valid bit mask values for specific user privileges.
The default privilege value is 0, which indicates the user has no privileges enabled.
racadm config -g cfgUserAdmin -o cfgUserAdminUserName
-i 2 john
racadm config -g cfgUserAdmin -o cfgUserAdminPassword
-i 2 123456
racadm config -g cfgUserAdmin -i 2 -o cfgUserPrivilege
0x00000001
racadm config -g cfgUserAdmin -i 2 -o
cfgUserAdminEnable 1
To verify that the user was added successfully with the correct privileges, use
one of the following commands:
racadm getconfig -u john
or
racadm getconfig –g cfgUserAdmin –i 2
Enabling a CMC User With Permissions
To enable a user with specific administrative permissions (role-based
authority), first locate an available user index by performing the steps in
"Before You Begin" on page 77. Next, type the following command lines with
the new user name and password.
NOTE: See Table B-1 for a list of valid bit mask values for specific user privileges.
The default privilege value is 0, which indicates the user has no privileges enabled.
racadm config -g cfgUserAdmin -o
cfgUserAdminPrivilege -i <index> <user privilege bitmask value>
Disabling a CMC User
Using RACADM, you can only disable CMC users manually and on an
individual basis. You cannot delete users by using a configuration file.