[Fai-commit] r3661 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Sun Jul 23 13:13:52 UTC 2006


Author: lange
Date: 2006-07-23 13:13:51 +0000 (Sun, 23 Jul 2006)
New Revision: 3661

Modified:
   trunk/bin/fai-setup
Log:
fix home path for LOGUSER (closes: #290449)


Modified: trunk/bin/fai-setup
===================================================================
--- trunk/bin/fai-setup	2006-07-23 11:39:07 UTC (rev 3660)
+++ trunk/bin/fai-setup	2006-07-23 13:13:51 UTC (rev 3661)
@@ -62,7 +62,7 @@
 	return
     fi
 
-    adduser --system --disabled-password --gecos "FAI account for log files" $LOGUSER
+    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




More information about the Fai-commit mailing list