When installing a pam module with priority higher than unix (for
example libpam-sss), the generate password rule for pam do not work.
This is the pam configuration in question:
password sufficient pam_sss.so
password [success=1 default=ignore] pam_unix.so obscure use_authtok try_first_pass sha512
password requisite pam_deny.so
password required pam_permit.so
The problem is the use_authtok argument to pam_unix.so, which forces
the unix module to not ask for a password even if it is missing, in
concert with the fact that some pam modules do not ask for passwords
if the user in question is unknown. I ran into this problem when I
was unable to change the password on the local root user after
configuring libpam-sss version 1.2.0-1. I believe the same is the
case for Kerberos pam modules.
Should the use_authtok argument be removed from
/usr/share/pam-config/unix?
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Hello,
# journalctl -g pam -xe
passwd[25640]: pam_systemd_home(passwd:chauthtok): Not a user
managed by systemd-homed: No home for user villebrequin known
FYI (I don't know if this can help):
https://github.com/systemd/systemd/commit/842067e6753d8cad951c83ac62681c539e1b1a07
Thanks in advance
Best regards