System Administration > Lifecycle Management > Nodes > User Management > Authentication Policy

set password-complexity [<complexity-name> <complexity-value>]

Configure password complexity requirements. Understanding PAM's maximum credit values with an example, consider password complexity configured as follows:
above values represent a password to be atleast of length 12 (or credits) which should consist atleast 1 lower case character, atleast 1 digit, atleast 1 special case character and any number of upper case characters.
If included, for first 2 upper case characters additional credit of +2 will be secured.
Which signifies password having 1 upper case character with additional 10 or more characters of required complexity will be allowed to set where total password length would be 11 or more,
password having 2 upper case characters with additional 8 or more characters of required complexity will be allowed to set where total password length would be 10 or more,
whereas password with 3 upper case characters shall still require 7 or more characters with above minimum value requirements, as there's only maximum credit of 2 configured for upper case characters.

Few valid passwords with respect to configured example complexity requirements:

whereas following passwords will be invalid:

Note, passwords less than 8 characters are never allowed.



Example:

nsx> set password-complexity nsx>

Mode:

Basic

Availability: