> Hi,
> 
> after a upgrade to fai 2.8.4 the root password is not set on my clients.
> 
> In DEFAULT/S20 (cfegine skript based on the simple example skript), the
> line in /etc/passwd should be replaced, but it is not because when i
> look into that file, there is no root password set
> 
> next possible source of problems could be the passwd/shadow debconf
> thingy
Do you mean lines like these:
passwd  passwd/shadow boolean true
passwd  passwd/md5      boolean true

? Then /etc/shadow is enabled.

> 
> do I have to do the replace in /etc/shadow or /etc/passwd ???
> 
Don't use cfengine for that, the following line is a better:
 echo "root:$rootpw" | $ROOTCMD chpasswd --encrypted

[...]

HTH,
Michael

Attachment: signature.asc
Description: Digital signature

Reply via email to