[Pkg-zfsonlinux-devel] Bug#1060460: Bug#1060460: reportbug: adduser prompts for current password when adding user, impossible to change passphrase

陈 晟祺 harry-chen at outlook.com
Fri Jan 12 03:38:03 GMT 2024


Control: tags -1 + upstream

Hi,

Thanks for reporting.

> 2024年1月12日 03:44,наб <nabijaczleweli at nabijaczleweli.xyz> 写道:
> 
> Package: libpam-zfs
> Version: 2.2.2-3
> Severity: normal
> 
> Dear Maintainer,
> 
> Given
>  # adduser testuser
>  info: Adding user `testuser' ...
>  info: Selecting UID/GID from range 1000 to 59999 ...
>  info: Adding new group `testuser' (1001) ...
>  info: Adding new user `testuser' (1001) with group `testuser (1001)' ...
>  info: Creating home directory `/home/testuser' ...
>  info: Copying files from `/etc/skel' ...
>  Current password:

I can reproduce all these with `adduser`. But everything works when I use
`useradd` and `passwd` (both with root, of course). I suspect there are some
differences between how `adduser` and `useradd` use PAM modules.

I personally have no experience in debugging PAM, and this seems a
upstream bug (?). Maybe you could also report this to upstream?

Thanks,
Shengqi Chen



More information about the Pkg-zfsonlinux-devel mailing list