To create a text-based password, perform the following steps:
- [edit system login]
- user@host# edit user account-name authentication
To enter a password as text, issue the following command. You are prompted for the password, which is encrypted before being stored.
- [edit system login user account-name authentication]
- user@host# set plain-text-password
- New password: password
- Retype new password: password
To store a password that you have previously created and hashed using Message Digest 5 (MD5) or Secure Hash Algorithm 1 (SHA-1), issue the following command:
- [edit system login user account-name authentication]
- user@host# set encrypted-password "password"
- [edit system login user account-name authentication]
- user@host# commit