Re: FAI (root password change on errors)

Thomas Lange <[email protected]>
Newsgroups gmane.linux.debian.fai
Message-ID <[email protected]>
>>>>> On Wed, 17 Jun 2020 08:37:19 +0000, Matteo Guglielmi <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.