Owner's Manual

Using the RACADM Command Line Interface 91
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
RACADM 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
To verify that the user was added successfully with the correct privileges, type
the following command:
racadm getconfig –g cfgUserAdmin –i 2
Using RACADM to Configure Public Key
Authentication over SSH
Before You Begin
You can configure up to 6 public keys that can be used with the service
username over SSH interface. Before adding or deleting public keys, be sure
to use the view command to see what keys are already set up so a key is not
accidentally overwritten or deleted. The service username is a special user
account that can be used when accessing the CMC through SSH. When the
PKA over SSH is set up and used correctly, you need not enter username or
passwords to log in to the CMC. This can be very useful to set up automated
scripts to perform various functions.