Adding And Removing Users - Tripp Lite B092-016 Owner's Manual

Console server management switch console server with poweralert console server
Hide thumbs Also See for B092-016:
Table of Contents

Advertisement

Chapter 14: Command Line Configuration

14.1.2 Adding and removing Users

Firstly, determine the total number of existing Users (if you have no existing Users you can assume this is 0):
# config -g config.users.total
This command should display config.users.total 1. Note that if you see config.users.total this means you have 0 Users
configured.
Your new User will be the existing total plus 1. So if the previous command gave you 0 then you start with user number 1, if
you already have 1 user your new user will be number 2 etc.
To add a user (with Username=John, Password=secret and Description
# config -s config.users.total=2 (assuming we already have 1 user configured)
# config -s config.users.user2.username=John
# config -s config.users.user2.description=mySecondUser
# config -P config.users.user2.password
NOTE: The -P parameter will prompt the user for a password, and encrypt it. In fact, the value of any config element can
be encrypted using the -P parameter, but only encrypted user passwords and system passwords are supported. If any other
element value were to be encrypted, the value will become inaccessible and will have to be re-set.
To add this user to specific groups (admin/users):
# config -s config.users.user2.groups.group1='groupname'
# config -s config.users.user2.groups.group2='groupname2'
etc...
To give this user access to a specific port:
# config -s config.users.user2.port1=on
# config -s config.users.user2.port2=on
# config -s config.users.user2.port5=on
etc...
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 give this
user access to RPC outlet number 3 on the RPC device, run the 2 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 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 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
=mySecondUser) issue the commands:
183

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents