FAI (root password change on errors)
Thomas Lange
lange at cs.uni-koeln.de
Thu Jun 18 11:49:22 CEST 2020
>>>>> On Wed, 17 Jun 2020 08:37:19 +0000, Matteo Guglielmi <Matteo.Guglielmi at dalco.ch> said:
> While a client is being installed (FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install), I can ssh into it as 'root' with the password defined in
> /etc/fai/nfsroot.conf (FAI_ROOTPW variable) but when FAI stops and bails out due to some error, FAI sends all the logs back to the install
> server and then does(?) something else (see second section) which includes changing the root password... am I correct?
You mean the root pw on the server is schanged?
No. The install client calls fai-chboot on the server, which disables
the PXE config, so the next time the client boots from local
disk.
The script scripts/DEBIAN/10-rootpw set the root pw on the install
client via $ROOTPW which is defined in
class/FAIBASE.var: ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
--
regards Thomas
More information about the linux-fai
mailing list