User's Manual

Using the RACADM Command Line Interface 83
specify any number of groups/objects to write, the index cannot be specified. A
new user is added to the first
available index. This behavior allows more flexibility in
configuring a second CMC with the same settings as the main CMC.
Adding a CMC User
To add a new user to the CMC configuration, you can use a few basic
commands. Perform the following procedures:
1
Set the user name.
2
Set the password.
3
Set the user privileges. For information about user privileges, see Table 5-9,
Table 5-10, and Table B-1.
4
Enable the user.
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
cfgUserAdminPrivilege 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