auth required pam_tally2.so onerr=succeed file=/var/log/tallylog
auth required pam_shells.so
auth requisite pam_nologin.so
auth include system-auth
account required pam_tally2.so
account required pam_access.so
account required pam_nologin.so
account include system-auth
password include system-auth
session optional pam_loginuid.so
session optional pam_keyinit.so force revoke
session include system-auth
session optional pam_motd.so motd=/etc/motd
session optional pam_mail.so dir=/var/spool/mail standard quiet
-session optional pam_systemd.so
session required pam_env.so
From what I’ve read so far all I need to do is replace “pam_tally2.so” with “pam_faillock.so”. And change the last line in the file to: “session required pam_env.so user_readenv=1”
Do I change the line in /etc/pam.d/sddm-autologin to be: “auth required pam_faillock” or “auth required faillock file=/var/log/faillog onerr=succeed”