Check the entries in the following file:
/etc/default/passwdNote that the
MINNONALPHA option cannot be used at the same time as
MINSPECIAL or
MINDIGIT:
--------------------------
MINDIFF=3
MINALPHA=2
MINNONALPHA=1
#MINUPPER=0
#MINLOWER=0
MAXREPEATS=0
#MINSPECIAL=1
MINDIGIT=1
#WHITESPACE=YES
--------------------------
The above example would cause the error to occur as both
MINNONALPHA and
MINDIGIT are configured.
Comment out either the
MINNONALPHA or both
MINDIGIT &
MINSPECIAL entries to resolve.
Note that if the above configuration is the cause of the issue then you may also see the following error message in the
/var/log/authlog file:
-----------------------------
Nov 18 16:34:33 server01 syslog[25976]: [ID 978052 auth.error] pam_authtok_check: /etc/default/passwd contains definition for MINNONALPHA and for MINDIGIT. These options are mutually exclusive.-----------------------------