You are not logged in.
When using my Arch systems, when thru with session rm logs and type "poweroff" to secure system.
Tallylog seems to be tied to logind/pam_tally2, have NO intrest in this Binary login counter file.
Tried changes to /etc/pam.d/system-login to the lines with pam_tally2.so
auth required pam_tally2.so onerr=succeed file=/dev/null
no change
auth optional pam_tally2.so onerr=succeed file=/dev/null
no change
account required pam_tally2.so file=/dev/null
after reboot on this last change, Authenticaion Failure
Boot usb to fix last change to login.
Do NOT want edit/compile PAM system to stop /var/log/tallylog
TIA
Last edited by carlday (2020-05-13 20:03:46)
Offline
Try setting file= to anything other than /dev/null to see if the file parameter works as expected. Maybe it realizes it cannot write to /dev/null and falls back to the default path.
Offline
Edit, forgot F5…: @OP, do you understand what it does?
man 8 pam_tally2You cannot use tally w/o providing it a file to store your failed attempts.
If you don't want the tally feature, remove its pam entries.
Last edited by seth (2020-05-13 06:16:01)
Online
Put # on pam_tally2.so lines, rm log, rebooted no Log
Will add this to my Post Syu sed script
Offline