Users Guide

Table Of Contents
270 Using the RACADM Command Line Interface
For example, to allow the user Configure iDRAC6, Configure Users, Clear
Logs, and Access Virtual Console privileges, add the values 0x00000002,
0x00000004, 0x00000008, and 0x00000010 to construct the bitmap
0x0000002E. Then enter the following command to set the privilege:
racadm config -g cfgUserAdmin -o
cfgUserAdminPrivilege -i 2 0x0000002E
Uploading, Viewing, and Deleting SSH Keys Using RACADM
Upload
The upload mode allows you to upload a keyfile or to copy the key text on the
command line. You cannot upload and copy a key at the same time.
From local RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to 4> -f
<filename>
From telnet/ssh RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to 4> -t
<key-text>
Example:
Upload a valid key to iDRAC6 User 2 in the first key space using a file:
$ racadm sshpkauth -i 2 -k 1 -f pkkey.key
PK SSH Authentication Key file successfully uploaded to the RAC.
CAUTION: The "file" option is not supported on telnet/ssh/serial RACADM.
Clear Logs 0x00000008
Execute Server Control Commands 0x00000010
Access Virtual Console 0x00000020
Access Virtual Media 0x00000040
Test Alerts 0x00000080
Execute Debug Commands 0x00000100
Table 13-2. Bit Masks for User Privileges
(continued)
User Privilege Privilege Bit Mask