Re: FAI (root password change on errors)

2020-07-05 Diskussionsfäden Thomas Lange
> On Sat, 4 Jul 2020 15:35:21 +, Matteo Guglielmi > said: > I found the cause of it buried in one of my scripts. > Here it is: > $ROOTCMD echo -e "$ROOTPW\n$ROOTPW" | passwd root Thanks for the feedback. Glad to hear that no error is in FAI itself. -- regards Thomas

Re: FAI (root password change on errors)

2020-07-04 Diskussionsfäden Matteo Guglielmi
arget Changed to this now: $ROOTCMD usermod -p "$ROOTPW" root From: linux-fai on behalf of Thomas Lange Sent: Wednesday, July 1, 2020 11:27:46 AM To: fully automatic installation for Linux Subject: Re: FAI (root password change on errors) >>

Re: FAI (root password change on errors)

2020-07-04 Diskussionsfäden Matteo Guglielmi
t;$ROOTPW" root From: linux-fai on behalf of Thomas Lange 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 +

Re: FAI (root password change on errors)

2020-07-01 Diskussionsfäden Thomas Lange
> On Thu, 18 Jun 2020 18:34:40 +, Matteo Guglielmi > 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

Re: FAI (root password change on errors)

2020-06-18 Diskussionsfäden Matteo Guglielmi
o you happen to know what's changing the root pass? Is it FAI? From: linux-fai on behalf of Thomas Lange Sent: Thursday, June 18, 2020 6:26:05 PM To: fully automatic installation for Linux Subject: Re: FAI (root password change on errors) >>>&g

Re: FAI (root password change on errors)

2020-06-18 Diskussionsfäden Thomas Lange
> On Thu, 18 Jun 2020 15:27:53 +, Matteo Guglielmi > said: > when FAI stops because of any error in the scripts, FAI starts > a login shell (tty console) on the install client and the root > password of FAI itself (nfsroot+overlayfs) is changed. normally I would expect th

Re: FAI (root password change on errors)

2020-06-18 Diskussionsfäden Matteo Guglielmi
fully automatic installation for Linux Subject: Re: FAI (root password change on errors) >>>>> On Wed, 17 Jun 2020 08:37:19 +, Matteo Guglielmi >>>>> said: > While a client is being installed (FAI_FLAGS=verbose,sshd,reboot FAI_ACTION=install), I can ssh into

Re: FAI (root password change on errors)

2020-06-18 Diskussionsfäden Thomas Lange
> On Wed, 17 Jun 2020 08:37:19 +, Matteo Guglielmi > 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 ba

FAI (root password change on errors)

2020-06-17 Diskussionsfäden Matteo Guglielmi
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