Tripp Lite B0930042E4UV Owners Manual for B093- B097- and B098-Series Console - Page 220

Adding and Removing User Groups

Page 220 highlights

14. Configuration from the Command Line To remove port access: # config -s config.users.user2.port1='' (the value is left blank) or simply: # config -d config.users.user2.port1 The port number can be anything from 1 to 48, depending on the available ports on the specific console server. For example, assume we have an RPC device connected to port 1 on the console server and the RPC is configured. To allow this user access to RPC outlet number 3 on the RPC device, run the commands below: # config -s config.ports.port1.power.outlet3.users.user2=John # config -s config.ports.port1.power.outlet3.users.total=2 (total number of users that have access to this outlet) If more users are allowed access to this power outlet, increment the 'config.ports.port1.power.outlet3.users.total' element accordingly. To allow this user access to network host 5 (assuming the host is configured): # config -s config.sdt.hosts.host5.users.user1=John # config -s config.sdt.hosts.host5.users.total=1 (total number of users having access to host) To allow another user named 'Peter' access to the same host: # config -s config.sdt.hosts.host5.users.user2=Peter # config -s config.sdt.hosts.host5.users.total=2 (total number of users having access to host) To edit any of the user element values, use the same approach as when adding user elements (i.e. use the '-s' parameter). If any of the config elements do not exist, they will automatically be created. To delete the user called John, use the delete-node script: # ./delete-node config.users.user2 The following command will synchronize the live system with the new configuration: # config -r users 14.1.3 Adding and Removing User Groups The console server is configured with a few default user groups (though only two of these groups are visible in the management console GUI). To determine how many groups are already present: # config -g config.groups.total Assume this value is six. Make sure to number any new groups you create from seven onwards. To add a custom group to the configuration with Group name=Group7, Group description=MyGroup and Port access= 1,5 , issue the commands: # config -s config.groups.group7.name=Group7 # config -s config.groups.group7.description=MyGroup # config -s config.groups.total=7 # config -s config.groups.group7.port1=on # config -s config.groups.group7.port5=on Assume an RPC device is connected to port 1 on the console manager and the RPC is configured. To allow this group access to RPC outlet number 3 on the RPC device, run the two commands below: # config -s config.ports.port1.power.outlet3.groups.group1=Group7 # config -s config.ports.port1.power.outlet3.groups.total=1 (total number of groups that have access to this outlet) If more groups are allowed access to this power outlet, increment the 'config.ports.port1.power.outlet3.groups.total' element accordingly. To allow this group access to network host 5: # config -s config.sdt.hosts.host5.groups.group1=Group7 # config -s config.sdt.hosts.host5.groups.total=1 (total number of groups having access to host) 220

  • 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
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288

220
14. Configuration from the Command Line
To remove port access:
# config -s config.users.user2.port1=’’ (the value is left blank)
or simply:
# config -d config.users.user2.port1
The port number can be anything from 1 to 48, depending on the available ports on the specific console server.
For example, assume we have an RPC device connected to port 1 on the console server and the RPC is configured. To allow
this user access to RPC outlet number 3 on the RPC device, run the commands below:
# config -s config.ports.port1.power.outlet3.users.user2=John
# config -s config.ports.port1.power.outlet3.users.total=2 (total number of users that have access to this outlet)
If more users are allowed access to this power outlet, increment the ‘
config.ports.port1.power.outlet3.users.total
’ element
accordingly.
To allow this user access to network host 5 (assuming the host is configured):
# config -s config.sdt.hosts.host5.users.user1=John
# config -s config.sdt.hosts.host5.users.total=1 (total number of users having access to host)
To allow another user named ‘Peter’ access to the same host:
# config -s config.sdt.hosts.host5.users.user2=Peter
# config -s config.sdt.hosts.host5.users.total=2 (total number of users having access to host)
To edit any of the user element values, use the same approach as when adding user elements (i.e. use the ‘-s’ parameter). If
any of the config elements do not exist, they will automatically be created.
To delete the user called John, use the delete-node script:
# ./delete-node config.users.user2
The following command will synchronize the live system with the new configuration:
# config -r users
14.1.3 Adding and Removing User Groups
The console server is configured with a few default user groups (though only two of these groups are visible in the
management console GUI). To determine how many groups are already present:
# config -g config.groups.total
Assume this value is six. Make sure to number any new groups you create from seven onwards.
To add a custom group to the configuration with Group name=Group7, Group description=MyGroup and Port access= 1,5 ,
issue the commands:
# config -s config.groups.group7.name=Group7
# config -s config.groups.group7.description=MyGroup
# config -s config.groups.total=7
# config -s config.groups.group7.port1=on
# config -s config.groups.group7.port5=on
Assume an RPC device is connected to port 1 on the console manager and the RPC is configured. To allow this group access
to RPC outlet number 3 on the RPC device, run the two commands below:
# config -s config.ports.port1.power.outlet3.groups.group1=Group7
# config -s config.ports.port1.power.outlet3.groups.total=1 (total number of groups that have access to this outlet)
If more groups are allowed access to this power outlet, increment the ‘
config.ports.port1.power.outlet3.groups.total
element accordingly.
To allow this group access to network host 5:
# config -s config.sdt.hosts.host5.groups.group1=Group7
# config -s config.sdt.hosts.host5.groups.total=1 (total number of groups having access to host)