Bug#1056166: systemd-homed: `passwd` fails

Michael Biebl biebl at debian.org
Sat Nov 18 04:41:32 GMT 2023


Am 18.11.23 um 03:25 schrieb Jack Pearson:
> $ apt install systemd-homed
> $ passwd
> passwd: Authentication token manipulation error

Installing systemd-homed changes the PAM configuration of common-passwd:

>  # here are the per-package modules (the "Primary" block)
> -password       [success=1 default=ignore]      pam_unix.so obscure yescrypt
> +password       [success=2 default=ignore]      pam_systemd_home.so 
> +password       [success=1 default=ignore]      pam_unix.so obscure use_authtok try_first_pass yescrypt


Enabling some debug flags yields

> Nov 18 05:39:03 debian passwd[6463]: pam_systemd_home(passwd:chauthtok): pam-systemd-homed account management
> Nov 18 05:39:03 debian passwd[6463]: pam_systemd_home(passwd:chauthtok): Not a user managed by systemd-homed: No home for user michael known
> Nov 18 05:39:03 debian passwd[6463]: pam_unix(passwd:chauthtok): username [michael] obtained
> Nov 18 05:39:06 debian passwd[6463]: pam_systemd_home(passwd:chauthtok): pam-systemd-homed account management
> Nov 18 05:39:06 debian passwd[6463]: pam_unix(passwd:chauthtok): username [michael] obtained
> Nov 18 05:39:06 debian passwd[6463]: pam_unix(passwd:chauthtok): password - new password not obtained

I'm not really familiar with PAM though, so no idea how to fix this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20231118/a9df0299/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list