Information
Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks. The shorter the password, the lower the number of possible combinations that need to be tested before the password is compromised. Use of more characters in a password helps to exponentially increase the time and/or resources required to compromise the password.
Compliance with this requirement also prevents the system from being configured with default or no passwords.
Solution
Set the global password option for all accounts created on the Juniper SRX.
[edit]
set system login password minimum-length 15
Note: This setting only enforces the minimum character password length for newly created passwords. The password of the existing account must be changed if it is not already complaint.
To set or change the root user password, in configuration mode enter the following command.
[edit]
set system root-authentication plain-text-password
When prompted, enter the password for the root user.
Retype new password to confirm
To set or change the account of last resort, in configuration mode enter the following command.
[edit]
set system login user <name of the account of last resort> plain-text-password
When prompted, enter the password for the root user.
Retype new password to confirm.