Dell PowerEdge VRTX Chassis Management Controller Version 1.0 for Dell PowerEd - Page 102

Adding CMC User Using RACADM, PowerEdge VRTX RACADM Command Line Reference Guide

Page 102 highlights

To verify if a user exists, open a Telnet/SSH text console to the CMC, log in, and then type the following command once for each index of 1-16: racadm getconfig -g cfgUserAdmin -i NOTE: You can also type racadm getconfig -f and view or edit the myfile.cfg file, which includes all the CMC configuration parameters. Several parameters and object IDs are displayed with their current values. Two objects of importance are: # cfgUserAdminIndex=XX cfgUserAdminUserName= If the cfgUserAdminUserName object has no value, that index number, which is indicated by the cfgUserAdminIndex object, is available for use. If a name is displayed after the "=", that index is taken by that user name. When you manually enable or disable a user with the racadm config subcommand, you must specify the index with the -i option. The "#" character in the command objects indicates that it is a read-only object. 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 CMC User Using RACADM To add a new user to the CMC configuration: 1. Set the user name. 2. Set the password. 3. Set the user privileges. For information about user privileges, see Types of Users. 4. Enable the user. Example: The following example describes how to add a new user named "John" with a "123456" password and login privileges to the CMC. NOTE: For a list of valid bit mask values for specific user privileges, see the Chassis Management Controller for PowerEdge VRTX RACADM Command Line Reference Guide. The default privilege value is 0, which indicates that the privileges of a user are not 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 successfully added with the correct privileges, run the following command: racadm getconfig -g cfgUserAdmin -i 2 For more information about the RACADM commands, see the Chassis Management Controller for PowerEdge VRTX RACADM Command Line Reference Guide available at dell.com/support/manuals. 102

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193

To verify if a user exists, open a Telnet/SSH text console to the CMC, log in, and then type the following command once
for each index of 1–16:
racadm getconfig -g cfgUserAdmin -i <index>
NOTE:
You can also type
racadm getconfig -f <myfile.cfg>
and view or edit the
myfile.cfg
file, which
includes all the CMC configuration parameters.
Several parameters and object IDs are displayed with their current values. Two objects of importance are:
# cfgUserAdminIndex=XX
cfgUserAdminUserName=
If the
cfgUserAdminUserName
object has no value, that index number, which is indicated by the
cfgUserAdminIndex
object, is available for use. If a name is displayed after the "=", that index is taken by that user
name.
When you manually enable or disable a user with the racadm
config
subcommand, you must specify the index with
the
-i
option.
The "#" character in the command objects indicates that it is a read-only object. 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 CMC User Using RACADM
To add a new user to the CMC configuration:
1.
Set the user name.
2.
Set the password.
3.
Set the user privileges. For information about user privileges, see
Types of Users
.
4.
Enable the user.
Example:
The following example describes how to add a new user named "John" with a "123456" password and login privileges to
the CMC.
NOTE:
For a list of valid bit mask values for specific user privileges, see the
Chassis Management Controller for
PowerEdge VRTX RACADM Command Line Reference Guide
. The default privilege value is 0, which indicates that
the privileges of a user are not 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 successfully added with the correct privileges, run the following command:
racadm getconfig –g cfgUserAdmin –i 2
For more information about the RACADM commands, see the
Chassis Management Controller for PowerEdge VRTX
RACADM Command Line Reference Guide
available at
dell.com/support/manuals
.
102