Black Box LES1408A ユーザーズマニュアル

ページ / 286
 
 
14.3  Adding and Removing Users 
First, 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. 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  =mySecondUser) issue the 
commands: 
# 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. You can encrypt the value 
of any config element 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 reset. 
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): 
_____________________________________________________________________ 
 
 
724-746-5500 | blackbox.com
 
 Page 219