Re: Installing Snapshot always fails with "failed to set user account password" error
Posted: Sun Mar 13, 2022 4:11 pm
looks right
Support for MX and antiX Linux distros
https://www.forum.mxlinux.org/
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?
Code: Select all
pam-auth-update
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:~
Code: Select all
sudo pam-auth-update
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
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.
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"
Code: Select all
printf 'fehlix:x\ndemo:x' | chpasswd
Code: Select all
chpasswd: (user demo) pam_chauthtok() failed, error:
Authentication token manipulation error
chpasswd: (line 2, user demo) password not changed