Owner's Manual

92 Using the RACADM Command Line Interface
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-42,
and Table 5-43.
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: For a list of valid bit mask values for specific user privileges, see Table 3-1 in
the database property chapter of the
RACADM Command Line Reference Guide for
iDRAC7 and CMC
. 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, type
the following command:
racadm getconfig –g cfgUserAdmin –i 2