Digi TS 4, TS 2/4 manual Configuring a User Command Line Examples

Page 82

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

15-4

Configuring a User: Command Line Examples

Image 82
Contents 92000307B Page Contents Configuring DNS Configuration Examples Page Introduction This ChapterSetup Overview About This Guide About Entering Commands on the Command LineSupported Devices Access Resource CD Card Other Documents in the LibraryAbout Configuration Methods Downloading a Configuration FileAccessing the Command Line from a Telnet Session Configuration PrerequisitesLogging On As Root from the Command Line Accessing the Configuration from the Web InterfaceConfiguring the IP Address Options for Configuring the IP Address and Mask OptionsProcedure Configuring the Ethernet Interface with DPA-RemoteStarting Point Configuring the IP Address Using Ping-ARP Manual Configuration Procedure Configuring the Ethernet Interface from the Command LineConfiguring an IP Address using Dhcp and Rarp Manual Configuration ExampleConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort Configuration Options What is RealPort?Configuring the RealPort Software About RealPortConfiguring Ports Web Interface Configuring Ports for RealPort Command Line ExampleConfiguring Ports for Printers Configuration Considerations Tips for telnet and rsh Printing Configuring Ports for Printers Web InterfaceConfiguring Printer Connections Command Line Related InformationConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring Ports for Terminals Configuring Ports for Terminals Command Line Configuring Ports for Terminals Web InterfacePort Defaults Configuring Typical PC Connections About Computer ConnectionsAbout Computer Connections Configuring Autoconnection Configuring Autoconnection By Port Command Line Configuring a Port for Autoconnection Web InterfaceAbout Autoconnection Configuring a User for Autoconnection Web Interface Configuring a User for Autoconnection Command LineConfiguring a User for Autoconnection Command Line Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Introduction to Routing What is RoutingTypes of Routing About RIP Routing Updates Digi One/PortServer TS 2/4 Participation in RIP Updates Example Route Using the Ethernet Interface Configuring Static RoutesExample Route Using a PPP Link Configuring Dynamic Routes Using RIP Example Dynamic RoutesConfiguring Proxy ARP Configuring Proxy ARP Configuring Console Management Configuring Console Management Command Line Configuring Console Management Web InterfaceAbout Console Management Example SSH2 and Menu Access Example Alternate IP Addresses10-4 Configuring About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Configuring a Port-Connected Master Configuring Network-Connected MastersExamples Configuring Security Features Options for Removing Access Restriction Controlling Access to Inbound PortsDefault Access Restrictions Procedure for Changing a Port’s Access RequirementsRestricting Access to Outbound Ports Controlling Access to Outbound PortsDefault Access Method 1 AutoconnectionIssuing User Passwords Password Protection Configuring SSH Version 2 for Secure CommunicationUsing a Public Key 12-6 Configuring DNS About the Domain Name System Procedure for Using a Name Server Configuration ProceduresProcedure for Using a Host File 13-4 Configuring Snmp About Snmp and the Digi One/PortServer TS 2/4 Agent Configuration Procedure Command Line Configuration Procedure Web InterfaceConfiguration Example 14-4 Configuring Users About Configuring Users Common User FeaturesConfiguring a User Web Interface Configuring a User Command Line Examples Managing the OS and Configuration Upgrading the OS Firmware Web Interface Upgrading the OS Firmware Command Line Prerequisite TaskRules for Editing a Configuration file Configuring Digi One/PortServer TS 2/4 from a Remote HostWhen To Use Remote Configuration Copying the Configuration File to a HostCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Configuration Notes Terminal Server Configuration Without RealPortConfiguration IllustrationTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Symptom Digi One/PortServer TS 2/4 Does Not Boot ProceduresSymptom Cannot Telnet to the Digi One/PortServer TS 2/4 AssumptionsSymptom Trouble Accessing a Port Running Digi One/PortServer TS 2/4 Customer DiagnosticsKey to Interpreting Digi One/PortServer TS 2/4 LEDs Troubleshooting Tftp ProblemsVerifying Tftp on a Unix System Kill -1inetdPID Checking for Duplicate IP Addresses Verifying the Digi One/PortServer TS 2/4 IP AddressPinging an IP Address Verifying the Network Cabling HP-UX Verifying the RealPort Process Verifying the RealPort ProcessAIX Verifying the RealPort Process Linux Verifying the RealPort ProcessWindows 2000 Verifying the RealPort Service Windows NT Verifying the RealPort ServiceSolaris Verifying the RealPort Process Digi Contact Information Digi International Bren Road East Minnetonka, MN18-12