Installing Snapshot always fails with "failed to set user account password" error [Solved]
- dolphin_oracle
- Developer
- Posts: 22693
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Installing Snapshot always fails with "failed to set user account password" error
looks right
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
Re: Installing Snapshot always fails with "failed to set user account password" error
Thanks a lot. No, just installing a bunch of the usual software and some look & feel changes in the KDE settings. I set up my initial installation with a single user and also set an administrator password. Nothing else.dolphin_oracle wrote: Sun Mar 13, 2022 3:52 pm I'm going to test a kde snapshot. anything special to do to mimic your case? any PAM changes or anything like that?
If you need any logs, config files etc. to reproduce the issue I'll be happy to upload them here.
- dolphin_oracle
- Developer
- Posts: 22693
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Installing Snapshot always fails with "failed to set user account password" error
hmm...
before installing, on the live-usb, try
and see if it looks like this:
click next to cycle through the interface.
before installing, on the live-usb, try
Code: Select all
pam-auth-update
click next to cycle through the interface.
You do not have the required permissions to view the files attached to this post.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
Re: Installing Snapshot always fails with "failed to set user account password" error
No, it looks very different (see below). There is no "next" button, when I click "continue" the window closes. Also, when executing the command and clicking "continue" there are error messages in the terminal:dolphin_oracle wrote: Sun Mar 13, 2022 4:29 pm hmm...
before installing, on the live-usb, try
and see if it looks like this:Code: Select all
pam-auth-update
click next to cycle through the interface.
Code: Select all
stefan@HP-Linux:~
$ pam-auth-update
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
open(/var/lib/pam/seen) failed: Permission denied at /sbin/pam-auth-update line 238, <STDIN> line 12.
debconf: DbDriver "config": could not write /var/cache/debconf/config.dat-new: Permission denied
stefan@HP-Linux:~
You do not have the required permissions to view the files attached to this post.
Last edited by SIttner76 on Sun Mar 13, 2022 4:46 pm, edited 1 time in total.
- dolphin_oracle
- Developer
- Posts: 22693
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Installing Snapshot always fails with "failed to set user account password" error
oh, use sudo. my fault.
Code: Select all
sudo pam-auth-update
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
Re: Installing Snapshot always fails with "failed to set user account password" error
OK thanks, see above. The window stays the same, but the error messages disappear.dolphin_oracle wrote: Sun Mar 13, 2022 4:44 pm oh, use sudo. my fault.
Code: Select all
sudo pam-auth-update
- dolphin_oracle
- Developer
- Posts: 22693
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Installing Snapshot always fails with "failed to set user account password" error
ok that looks correct then. did you click all the way through? there are some reports that will correct a corrupt PAM config file somewhere and eliminate the error a chpasswd. its worth a shot.
BTW I have not duplicated the issue on a KDE snapshot.
BTW I have not duplicated the issue on a KDE snapshot.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
Re: Installing Snapshot always fails with "failed to set user account password" error
If I click on "continue" the windows just closes, there is no second page. As I said, it looks different than your window in that there is no "next" button.dolphin_oracle wrote: Sun Mar 13, 2022 5:32 pm ok that looks correct then. did you click all the way through? there are some reports that will correct a corrupt PAM config file somewhere and eliminate the error a chpasswd. its worth a shot.
BTW I have not duplicated the issue on a KDE snapshot.
Edit: I tried installing the system after running the command and clicking "continue", but it fails with the same error as before

Re: Installing Snapshot always fails with "failed to set user account password" error
At least I can reproduce something which creates an error message,SIttner76 wrote: Sun Mar 13, 2022 3:21 pmNote: I did not set the user account to "demo" during the installation but used my own user nameCode: Select all
2022-03-13 20:17:38.154 DBG default: SErr #136: "chpasswd: (user demo) pam_chauthtok() failed, error:\nAuthentication token manipulation error\nchpasswd: (line 2, user demo) password not changed\n"
which appears to be identical ( shown here with line breaks):
This command:
Code: Select all
printf 'fehlix:x\ndemo:x' | chpasswd
line 1 succefull for an existing user "fehlix" ,
line 2 failes for non-existing user "demo":
Code: Select all
chpasswd: (user demo) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 2, user demo) password not changed
- dolphin_oracle
- Developer
- Posts: 22693
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Installing Snapshot always fails with "failed to set user account password" error
hmmm....more than one user on live system maybe? those files would copy over...
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/