5.2. Procedure – Setting password policies for local users


PSM can use password policies to enforce minimal password strength and password expiry. To create a password policy, complete the following steps.


Note the following important points about password policies.

  • Password policies do not apply to the built-in admin user.

  • Password policies apply only for locally managed users, and have no effect if you manage your users from an LDAP database, or if you authenticate your users to a RADIUS server.


    PSM accepts passwords that are not longer than 150 characters. The following special characters can be used: !"#$%&'()*+,-./:;<=>[email protected][\]^-`{|}


  1. Navigate to AAA > Settings.

    Figure 5.2. AAA > Settings — Configuring password policies

    AAA > Settings — Configuring password policies
  2. Verify that the Authentication method is set to Password provided by database and that the User database is set to Local.


    If the setting of these fields is different (for example LDAP or RADIUS), then PSM is not configured to manage passwords locally.

  3. Set how long the passwords are valid in the Password expiration field. After this period, PSM users will have to change their password. To disable password expiry, enter 0.

  4. To prevent password-reuse (for example when a user has two password and instead of changing to a new password only switches between the two), set how many different passwords must the user use before reusing an old password.

  5. To enforce the use of strong password, select the level of password-complexity from the Minimal password strength field.


    The strength of the password is determined by its entropy: the variety of numbers, letters, capital letters, and special characters used, not only by its length.

    To execute some simple dictionary-based attacks to find weak passwords, set Cracklib (eg. dictionary) check on password to Enabled.

  6. Click .


    Changes to the password policy do not affect existing passwords. However, setting password expiry will require every user to change their passwords after the expiry date, and the new passwords must comply with the strength requirements set in the password policy.