Open x70b1 opened 4 years ago
I do not know what's causing the bad_ident
message. If you're running the current HEAD then the second log message seems to be right, because physlock now calls pam_setcred
.
Can you please post i3lock's PAM config?
It's the default config:
#
# PAM configuration file for the i3lock screen locker. By default, it includes
# the 'system-auth' configuration file (see /etc/pam.d/login)
#
auth include system-auth
My system-auth:
#%PAM-1.0
auth required pam_unix.so try_first_pass nullok
auth optional pam_permit.so
auth required pam_env.so
account required pam_unix.so
account optional pam_permit.so
account required pam_time.so
password required pam_unix.so try_first_pass nullok sha512 shadow
password optional pam_permit.so
session required pam_limits.so
session required pam_unix.so
session optional pam_permit.so
I changed my config to:
#%PAM-1.0
auth required pam_unix.so try_first_pass nullok
account required pam_unix.so
password required pam_unix.so try_first_pass nullok sha512 shadow
session required pam_unix.so
But the error log is still the same.
If I put auth include system-auth
in my config the error is in the log too.
I have the following line in my
journal
:My PAM config
/etc/pam.d/physlock
:I am just asking myself what the third line is about. It seems like an error. But I couldn't find a solution.
i3lock only prints one line, while physlock writes 3 lines log.
Is there anything known about this? Regardless of this, everything works.