0

so I am testing setting up password complixity on ubuntu 22.04 and it looks like we use /etc/pam.d/common-password to modify/add fields. So from the file, I changed the line 25 from:

password requisite pam_pwquality.so retry=3

TO:

password requisite pam_pwquality.so minlen=12 minclass=4 remember=15 reject_username

After rebooting the server and creating a new user to test, the following modules work: minlen, minclass and reject_username. However, it seems the remember module does not work. Any ideas?

thanks in advanced.

JKC
  • 1

0 Answers0