Page 5 of 8

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 10:53 am
by AK-47
What is the output of this command?

Code: Select all

/bin/ls -1 /home
Start it from your snapshot.

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 11:13 am
by fehlix
SIttner76 wrote: Mon Mar 14, 2022 8:14 am This did not go well... Unfortunately the commands didn't do what you hoped for (see below). When I logged back in as "stefan" I then found myself not in my desktop but back in the original ISO installer desktop. I then started the installer, which went through without error but it did not install my snapshot but rather the original version.
Hmm.., so you removed "something" under /home, and afterwards the installer worked.
What directories do you have under home on the snapshot? Something other then the home directory of the default user?

Code: Select all

ls -al /home
... Opps ... AK-47 already asked...

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 11:19 am
by SIttner76
AK-47 wrote: Mon Mar 14, 2022 10:53 am What is the output of this command?

Code: Select all

/bin/ls -1 /home
Start it from your snapshot.
OK, here it is:

Code: Select all

stefan@HP-Linux:~
$ /bin/ls -1 /home
stefan
stefan@HP-Linux:~
$ 

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 11:21 am
by SIttner76
fehlix wrote: Mon Mar 14, 2022 11:13 am
SIttner76 wrote: Mon Mar 14, 2022 8:14 am This did not go well... Unfortunately the commands didn't do what you hoped for (see below). When I logged back in as "stefan" I then found myself not in my desktop but back in the original ISO installer desktop. I then started the installer, which went through without error but it did not install my snapshot but rather the original version.
Hmm.., so you removed "something" under /home, and afterwards the installer worked.
What directories do you have under home on the snapshot? Something other then the home directory of the default user?

Code: Select all

ls -al /home
... Opps ... AK-47 already asked...

Code: Select all

stefan@HP-Linux:~
$ ls -al /home
total 0
drwxr-xr-x 1 root   root    60 Mar 10 15:07 .
drwxr-xr-x 1 root   root   160 Mar 14 16:15 ..
drwxr-xr-x 1 stefan stefan 260 Mar 14 15:16 stefan
stefan@HP-Linux:~

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 11:25 am
by dolphin_oracle
SIttner76 wrote: Mon Mar 14, 2022 11:19 am
AK-47 wrote: Mon Mar 14, 2022 10:53 am What is the output of this command?

Code: Select all

/bin/ls -1 /home
Start it from your snapshot.
OK, here it is:

Code: Select all

stefan@HP-Linux:~
$ /bin/ls -1 /home
stefan
stefan@HP-Linux:~
$ 
that's running your snapshot live?

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 11:30 am
by SIttner76
dolphin_oracle wrote: Mon Mar 14, 2022 11:25 am
SIttner76 wrote: Mon Mar 14, 2022 11:19 am
AK-47 wrote: Mon Mar 14, 2022 10:53 am What is the output of this command?

Code: Select all

/bin/ls -1 /home
Start it from your snapshot.
OK, here it is:

Code: Select all

stefan@HP-Linux:~
$ /bin/ls -1 /home
stefan
stefan@HP-Linux:~
$ 
that's running your snapshot live?
Yes, freshly booted.

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 11:49 am
by AK-47
What do you get with these commands? Run the second one immediately after the first with nothing in between the two commands.

Code: Select all

/bin/ls -1 /home | grep -Ev '(lost\\+found|demo|snapshot)' | grep -q [a-zA-Z0-9]
echo $?
Run on the live boot.

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 12:00 pm
by SIttner76
AK-47 wrote: Mon Mar 14, 2022 11:49 am What do you get with these commands? Run the second one immediately after the first with nothing in between the two commands.

Code: Select all

/bin/ls -1 /home | grep -Ev '(lost\\+found|demo|snapshot)' | grep -q [a-zA-Z0-9]
echo $?
Run on the live boot.

Code: Select all

stefan@HP-Linux:~
$ /bin/ls -1 /home | grep -Ev '(lost\\+found|demo|snapshot)' | grep -q [a-zA-Z0-9]
stefan@HP-Linux:~
$ echo $?
1
stefan@HP-Linux:~
$ 

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 12:02 pm
by dolphin_oracle
ok try again, but

Code: Select all

/usr/bin/ls -1 /home | grep -Ev '(lost\\+found|demo|snapshot)' | grep -q [a-zA-Z0-9]

Re: Installing Snapshot always fails with "failed to set user account password" error

Posted: Mon Mar 14, 2022 12:04 pm
by SIttner76
dolphin_oracle wrote: Mon Mar 14, 2022 12:02 pm ok try again, but

Code: Select all

/usr/bin/ls -1 /home | grep -Ev '(lost\\+found|demo|snapshot)' | grep -q [a-zA-Z0-9]

Code: Select all

stefan@HP-Linux:~
$ /usr/bin/ls -1 /home | grep -Ev '(lost\\+found|demo|snapshot)' | grep -q [a-zA-Z0-9]
stefan@HP-Linux:~
$ echo $?
1
stefan@HP-Linux:~
$