[Fai-commit] r6111 - branches/stable/3.4/bin

Michael Prokop mika at alioth.debian.org
Tue Oct 5 15:16:48 UTC 2010


Author: mika
Date: 2010-10-05 15:16:47 +0000 (Tue, 05 Oct 2010)
New Revision: 6111

Modified:
   branches/stable/3.4/bin/fai-setup
Log:
remove unused code (closes: #596055)

code is not used, since shadowconfig is always on

Modified: branches/stable/3.4/bin/fai-setup
===================================================================
--- branches/stable/3.4/bin/fai-setup	2010-10-05 15:16:40 UTC (rev 6110)
+++ branches/stable/3.4/bin/fai-setup	2010-10-05 15:16:47 UTC (rev 6111)
@@ -6,7 +6,7 @@
 # fai-setup -- set up FAI
 #
 # This script is part of FAI (Fully Automatic Installation)
-# (c) 2000-2009 by Thomas Lange, lange at informatik.uni-koeln.de
+# (c) 2000-2010 by Thomas Lange, lange at informatik.uni-koeln.de
 # Universitaet zu Koeln
 #
 #*********************************************************************
@@ -71,8 +71,6 @@
     fi
 
     adduser --system --disabled-password --home /var/log/fai --gecos "FAI account for log files" $LOGUSER
-    # there's a bug when the encrypted password is !, so change it to *
-    perl -pi.bak -e "s#^$LOGUSER:.:(.+):/bin/false#$LOGUSER:*:\1:/bin/bash#" /etc/passwd
     # get the home dir of a user in a variable; do not exit when set -e is used
     # loguserhome is unset if $LOGUSER does not exists
     # this is not a evil hack, it's a very clever piece of code




More information about the Fai-commit mailing list