I am trying to place a restriction on my ssh box to require a password of a min. length of 16 character and a max. of 30.
I was following the Password policy section, in the official user documentation and set the following in
password [success=1 default=ignore] pam_unix.so obscure min=16 max=30 sha512
However when I turn on ssh, as a regular user, and go to change my password via
passwd, I am restricted to a minimum of only 8 characters.
Would anyone have any ideas as to why the min. of 16 is not being recognised or it was something I have overlooked?
OS is Ubuntu Server 10.04.