No root password set after upgrade to 2.8.4

Michael Tautschnig michael.tautschnig at zt-consulting.com
Wed Sep 28 10:44:22 CEST 2005


> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20050928/f50ad8a2/attachment.bin 


More information about the linux-fai mailing list