3.1.4 /etc/security/user - minlen

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Defines the minimum length of a password.

In setting the minlen attribute, it ensures that passwords meet the required length criteria.

Solution

In /etc/security/user, set the default user stanza minlen attribute to be greater than or equal to 8-

chsec -f /etc/security/user -s default -a minlen=8

This means that all user passwords must be at least 8 characters in length.NOTE- If a password length greater than 8 is required, an enhanced password hashing algorithm must be selected. The default crypt algorithm only supports 8 character passwords.

See Also

https://workbench.cisecurity.org/files/528