Package: libpam-runtime
Version: 1.5.2-5
Hello,
I use the awesome systemd-homed for users, and classic unix
authentication for my system accounts. Thereby :
When I activate "Enable user management by systemd-homed" & "Unix
authentication"
with the help of `pam-auth-update`, I cannot use `passwd` with a
system account.
# cat /etc/pam.d/common-password
password [success=2 default=ignore] pam_systemd_home.so
password [success=1 default=ignore] pam_unix.so obscure
use_authtok try_first_pass yescrypt
# passwd villebrequin
passwd: Authentication token manipulation error
passwd: password unchanged
# 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
I have to remove the option use_authtok for it to work!
Could you please reconsider this request?
Thanks in advance
Best regards