vultr server can not be set 6 password prompt:
BAD PASSWORD: it does not contain enough DIFFERENT characters
But Ali cloud server can be set, did not see the search a bit too directly with information about modifying /etc/pam.d/common-password this file,
Not tried it myself, simply directly copied Ali cloud configuration, try to resolve again.
Posted about the configuration file:
# here are the per-package modules (the "Primary" block)
password [success=1 default=ignore] pam_unix.so obscure sha512
# here's the fallback if no module succeeds
password requisite pam_deny.so
# prime the stack with a positive return value if there isn't one already;
# this avoids us returning an error just because nothing sets a success code
# since the modules above will each just jump around
password required pam_permit.so
# and here are more per-package modules (the "Additional" block)
# end of pam-auth-update config
The two main lines:
password [success=1 default=ignore] pam_unix.so obscure sha512
# here's the fallback if no module succeeds
password requisite pam_deny.so