Password Policy
Minimum Password Length
password [success=1 default=ignore] pam_unix.so obscure sha512password [success=1 default=ignore] pam_unix.so obscure sha512 **minlen=8**Password Expiration
sudo chage -l <username>The output look like this :
Last password change : Jan 20, 2015
Password expires : never
Password inactive : never
Account expires : never
Minimum number of days between password change : 0
Maximum number of days between password change : 99999
Number of days of warning before password expires : 7sudo chage <username>