user (Access)
Syntax
user user-name { authentication { (encrypted-password encrypted-password | plain-text-password); load-key-file filename; no-public-keys; ssh-ecdsa name { from host-list; } ssh-ed25519 name { from host-list; } ssh-rsa name { from host-list; } } class class-name; cli { prompt prompt; } full-name complete-name; uid uid; }
Hierarchy Level
[edit system login]
Description
Configure access permission for individual
users. Starting in Junos OS Release 18.3, the ssh-dsa
hostkey
algorithm is deprecated— rather than immediately removed—to
provide backward compatibility and a chance to bring your configuration
into compliance with the new configuration.
Options
authentication | Specify one or more authentication methods that a user can use to log in to the router or switch. You can assign multiple authentication methods to a single user.
|
||||||||||||||||||||
class class-name | Assign a user to a login class. You must assign each
user to a login class. Specify one of the classes defined at the |
||||||||||||||||||||
cli | Set the CLI prompt specified for a specified login user or specified login class. The prompt set for the login user has precedence. |
||||||||||||||||||||
prompt prompt | Specify the prompt string you want to see displayed in the CLI prompt. |
||||||||||||||||||||
full-name complete-name | Specify the user’s complete name. If the name contains spaces, enclose it in quotation marks. Do not include colons or commas. |
||||||||||||||||||||
uid uid-value | Numeric identifier associated with the user account, either assigned by an administrator or assigned automatically when you commit the user configuration. It is used by applications that request numeric identifiers, such as some RADIUS queries, or secure applications, such as flow-tap monitoring. This value must be unique on the router or switch.
|
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
Statement no-public-keys
introduced in Junos OS Release
15.1.
Statement cli
introduced in Junos OS 17.3.