User's Manual

88 Using the RACADM Command Line Interface
NOTE: When you manually enable or disable a user with the RACADM config
subcommand, you
must
specify the index with the -i option. Observe that the
cfgUserAdminIndex object displayed in the previous example contains a #
character. Also, if you use the racadm config -f racadm.cfg command to
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 user privileges. For information about user privileges, see Table 5-40,
and Table 5-41 in the database property chapter of the
Command Line
Reference Guide for iDRAC6 and CMC.
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 3-1 in the database property chapter of the
Command Line
Reference Guide for iDRAC6 and CMC
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