[Contents] [Prev] [Next] [Index] [Report an Error]

# username

#### Syntax

username userName [ nopassword | password [ encryptionType ] passwordValue |
secret [ encryptionType ] secretValue ]

no username userName

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Configures a user entry and optional password or secret in the default local user database. This command creates the database if it does not already exist. The no version deletes the username entry from the default local user database. The nopassword keyword removes the password or secret.

#### Options

- userName—Name of user
- nopassword—Specifies that a password is not required for the specified username; deletes the password or secret from an existing username
- encryptionType—One of the following:
  - 0—Unencrypted password or secret (the default)
  - 5—MD5-encrypted secret
  - 8—Two-way encrypted password
- passwordValue—Character string that specifies the password. The string can contain any alphanumeric character, including spaces, up to 64 characters. Passwords are case sensitive.
- secretValue—Character string that specifies the secret. The string can contain any alphanumeric characters, including spaces, up to 64 characters. Secrets are case sensitive.

#### Mode

Global Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]