[Glibc-bsd-commits] r2679 - trunk/web/cdscripts

Aurelien Jarno aurel32 at alioth.debian.org
Wed Jul 29 11:19:56 UTC 2009


Author: aurel32
Date: 2009-07-29 11:19:56 +0000 (Wed, 29 Jul 2009)
New Revision: 2679

Modified:
   trunk/web/cdscripts/tarball.sh
Log:
Ensure the password is empty


Modified: trunk/web/cdscripts/tarball.sh
===================================================================
--- trunk/web/cdscripts/tarball.sh	2009-07-28 14:14:53 UTC (rev 2678)
+++ trunk/web/cdscripts/tarball.sh	2009-07-29 11:19:56 UTC (rev 2679)
@@ -55,6 +55,9 @@
   dpkg --extract ${tmp}/var/cache/apt/archives/${i}_*.deb ${tmp}/
 done
 
+# Remove the root passwd
+sed -i -e 's#^root:\*:0*#root::0#g' ${tmp}/usr/share/base-passwd/passwd.master
+
 # this command is called by f-i after untarring, let's exploit that
 cp startup ${tmp}/bin/mtree
 chmod +x ${tmp}/bin/mtree




More information about the Glibc-bsd-commits mailing list