beautypg.com

Set user – Perle Systems DS1 User Manual

Page 87

background image

Command Line Interface 87

User Commands

Set User

service

The type of service that the user will use.

sess-timer

The amount of time, in seconds, that the session timer will run. Use this timer to

forcibly close a user’s session (connection). When the session timer expires, the Device

Server will end the connection. The default value is

0

(zero), meaning that the session

timer will not expire (the session is open permanently, or until the user logs out). The

maximum value is 4294967

seconds. The

User Session Timer

will override the

Line

Session Timer

, with the exception of reverse Telnet sessions.

port

When the

User Service

is

Telnet

, this is the target port number. The default value will

change based on the type of

Service

selected; the most common known port numbers

are used as the default values.

Description Sets user’s settings. Normal-level users can configure only their own settings.

Admin-level users can configure any user’s settings, including their own (with the

exception of their User Level, which must stay at Admin).

User Level Normal, Admin
Syntax

set user . [hotkey-prefix <00-7f>] [language english|customlang]

[password]

Admin

set user .|<username>|* [hotkey-prefix <00-7f>]

[idle-timer <0-4294967>] [ip-host <ip_address>]
[language english|customlang]
[level admin|normal|restricted|menu] [password]
[line-access readin|readout|readwrite on|off]
[service dsprompt|telnet|tcp-clear] [sess-timer <0-4294967>]
[port tcp-clear|telnet <
tcp_port>]

Options

hotkey-prefix

The prefix that a user types to control the current session. The default value is

hex 01

,

which corresponds to

Ctrl-a

(

^a

) (hex value 02 would be Ctrl-b (^b), etc.):

z

^a

number

—To switch from one session to another, press

^a

and then the required

session number. For example,

^a 2

would switch you to session 2. Pressing

^a 0

will return you to the Device Server Menu.

z

^a n

—Display the next session. The current session will remain active. The lowest

numbered active session will be displayed.

z

^a p

—Display the previous session. The current session will remain active. The

highest numbered active session will be displayed.

z

^a m

—To exit a session and return to the Device Server. You will be returned to

where you left off. The session will be left running.

z

^a l

—(Lowercase L) Locks the line until the user unlocks it. The user is prompted

for a password (any password, excluding spaces) and locks the line. Next, the user

must retype the password to unlock the line.

z

^r

—When you switch from a session back to the Menu, the screen may not be

redrawn correctly. If this happens, use this command to redraw it properly.

The

User Hotkey Prefix

value overrides the

Line Hotkey Prefix

value. You can use the

Hotkey Prefix

keys to lock a line only when the line

Lock

parameter is

On

.