FAI (root password change on errors)

Matteo Guglielmi Matteo.Guglielmi at dalco.ch
Sat Jul 4 17:35:21 CEST 2020


I found the cause of it buried in one of my scripts.


Here it is:


$ROOTCMD echo -e "$ROOTPW\n$ROOTPW" | passwd root


which actually changes the root pass of FAI itself

and not the root pass of the client being installed

in /target



Changed to this now:


$ROOTCMD usermod -p "$ROOTPW" root




________________________________
From: linux-fai <linux-fai-bounces at uni-koeln.de> on behalf of Thomas Lange <lange at cs.uni-koeln.de>
Sent: Wednesday, July 1, 2020 11:27:46 AM
To: fully automatic installation for Linux
Subject: Re: FAI (root password change on errors)

>>>>> On Thu, 18 Jun 2020 18:34:40 +0000, Matteo Guglielmi <Matteo.Guglielmi at dalco.ch> said:

    > what happens is reported in the "second session" of
I think this is a log log from changing the root pw inside the chroot
of /target. You should verify, if really the hash in /etc/shadow is
changed.

Using alt-F2 or alt-F3 you can always get a shell without login in.
--
regards Thomas


More information about the linux-fai mailing list