User guide
set logins
152 Chapter 2 Command Descriptions
set logins
Device support This command is supported in all devices.
Purpose Use the "set logins" command to:
• Configure the sequence of events that occurs when a user logs into a
port. This includes information the user supplies and prompts and
responses.
• Display current login settings.
Required
permissions
The root user can configure login sequences. Normal users can display
login settings.
Syntax Configure login sequence
set logins [cmdprompt=string]
[logprompt=string]
[login={on|off}]
[passwd={on|off}]
[passprompt=string]
[premessage=string]
[range=range]
[rootprompt=string]
[verbose={on|off}]
[write={on|off}]
Display login settings
set logins [range=range]
Options cmdprompt=string
The prompt displayed to a regular user who has logged in. The maximum
length is 31 characters. Enclose this string in quotation marks if it
includes spaces or colons.
The default is “digi>” for normal users, and “#>” for root users.
logprompt=string
The login prompt displayed. The maximum length is 10 characters.
Enclose this string in quotation marks if it includes spaces or colons. The
default login prompt is “login:”
login={on|off}
Specifies whether a user must log into the port.
on
A user must log into the port.
off
A user is not required to log into the port.
The default is on for inbound dev types. This option is disabled when the
port is configured as an auto port. See "set ports" on page 169 for more
information.