Digi TS 2/4 Network Hardware User Manual


 
15-4 Configuring a User: Command Line Examples
Configuring a User: Command Line Examples
This section consists of a set of examples that tell you how to use the set user command to configure
various user attributes.
Configuring a User for a Password
In this example, the set user command configures a new user. The newpass command then initiates a
dialog with the Digi One/PortServer TS 2/4 to assign a password to the new user.
set user name=jsmith
newpass name=jsmith
Configuring a User for a Menu
In this example, the user is configured to use a menu, which is identified by a menu-table index
number. If the menu has not been configured, the Digi One/PortServer TS 2/4 will generate a
warning message, but the user will be configured to use the menu, which can then be created later.
set user name=jsmith defaultaccess=menu menu=4
Configuring a User for Autoconnect
In this example, the user is configured to do the following
Automatically connect to the host identified on the autohost field
Connect using Telnet
set user name=jsmith autoconnect=on defaultaccess=autoconnect
autohost=191.143.2.17 autoservice=telnet
Displaying an Entry in the User Table
This example assumes that the user named jsmith has already been created, in which case attributes
for jsmith are displayed. If the user did not already exist, this command would create a new user
named jsmith that uses all default attributes.
set user name=jsmith
Removing a User from the User Table
In this example, a user is removed from the user table.
remove user name=martymertz