User's Manual
86 Using the RACADM Command Line Interface
Logging in Using Public Key Authentication
After the public keys are uploaded, you should be able to log into the CMC
over SSH without having to enter a password. You also have the option of
sending a single RACADM command as a command line argument to the
SSH application. The command line options behave like remote RACADM
since the session ends after the command is completed. For example:
Logging in:
ssh service@<domain>
Or
ssh service@<
IP_address
>
where IP_address is the IP address of the CMC.
Sending racadm commands:
ssh service@<domain> racadm getversion
ssh service@<domain> racadm getsel
When you log in using the service account, if a passphrase was set up when
creating the public/private key pair, you may be prompted to enter that
passphrase again. If a passphrase is used with the keys, both Windows and
Linux clients provide methods to automate that as well. For Windows clients,
you can use the Pageant application. It runs in the background and makes
entering the passphrase transparent. For Linux clients, you can use the ssh-
agent. For setting up and using either of these applications, see the
documentation provided from that application.
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." Next, type the following command lines with the new
user name and password.
NOTE: See Table 3-1 in the Database Property chapter of the Dell Chassis
Management Controller Administrator Reference Guide 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>