You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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:
bad start! there's no current password
If I respond with mismatched passwords then
Current password: abc
New password: def
Retype new password: def
passwd: Authentication token manipulation error
passwd: password unchanged
Try again? [y/N]
And if with the same then:
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' ...
urrent password: asd
New password: asd
Retype new password: asd
The password has not been changed.
New password: asd
Retype new password: asd
The password has not been changed.
New password: asd
Retype new password: asd
The password has not been changed.
passwd: Authentication token manipulation error
passwd: password unchanged
Try again? [y/N]
And if I click through the rest, the user is disabled:
Current password:
New password:
Retype new password:
passwd: Authentication token manipulation error
passwd: password unchanged
it's asking me for a password again!
Journal says
Jan 11 20:40:14 chrust sudo[10942]: nabijaczleweli : TTY=pts/0 ; PWD=/home/nabijaczleweli ; USER=root ; COMMAND=/usr/bin/passwd testuser
Jan 11 20:40:14 chrust sudo[10942]: pam_unix(sudo:session): session opened for user root(uid=0) by nabijaczleweli(uid=1000)
Jan 11 20:40:16 chrust passwd[10944]: pam_zfs_key(passwd:chauthtok): dataset chrust-zoot/home/testuser not found
Jan 11 20:40:16 chrust passwd[10944]: pam_zfs_key(passwd:chauthtok): old token mismatch
Jan 11 20:40:33 chrust sudo[10942]: pam_unix(sudo:session): session closed for user root
Jan 11 20:40:35 chrust sudo[10946]: nabijaczleweli : TTY=pts/0 ; PWD=/home/nabijaczleweli ; USER=root ; COMMAND=/usr/bin/passwd testuser
Jan 11 20:40:35 chrust sudo[10946]: pam_unix(sudo:session): session opened for user root(uid=0) by nabijaczleweli(uid=1000)
Jan 11 20:40:35 chrust passwd[10948]: pam_zfs_key(passwd:chauthtok): dataset chrust-zoot/home/testuser not found
Jan 11 20:40:35 chrust passwd[10948]: pam_zfs_key(passwd:chauthtok): old token mismatch
Jan 11 20:40:38 chrust passwd[10948]: pam_unix(passwd:chauthtok): authentication failure; logname=nabijaczleweli uid=0 euid=0 tty= ruser= rhost= user=testuser
Jan 11 20:40:38 chrust passwd[10948]: pam_unix(passwd:chauthtok): user password changed by another process
Jan 11 20:40:40 chrust sudo[10946]: pam_unix(sudo:session): session closed for user root
System information
Describe the problem you're observing
bad start! there's no current password
If I respond with mismatched passwords then
And if with the same then:
And if I click through the rest, the user is disabled:
If I then passwd testuser as root:
it's asking me for a password again!
Journal says
Describe how to reproduce the problem
Enable pam_zfs_key
Downstream bug: https://bugs.debian.org/1060460
The text was updated successfully, but these errors were encountered: