_____________________________________________________________________
724-746-5500 | b lackb o x.co m
Page 172
# config -s config.ports.port1.power.outlet3.users.total=2 (total number of users that have
access to this outlet)
If
more
users
are
given
access
to
this
power
outlet,
then
increment
the
'config.ports.port1.power.outlet3.users.total'
element accordingly.
To give 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 give another user called “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, that is,
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.4 Adding and removing user Groups
The
console server
is configured with a few default user groups (even though only two of these groups
are visible in the Management Console GUI). To find out how many groups are already present:
# config -g config.groups.total
Assume this value is six. Make sure you number any new groups you create from seven and up.
To add a custom group to the configuration with Group name=Group7, Group description=MyGroup and
Port access= 1,5 you’d 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 we have an RPC device connected to port 1 on the console manager, and the RPC is configured.
To give 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
given
access
to
this
power
outlet,
then
increment
the
'config.ports.port1.power.outlet3.groups.total
' element accordingly.
To give 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)