[D-community-commits] r377 - trunk/fai-config-dir/scripts/DEFAULT
holger at alioth.debian.org
holger at alioth.debian.org
Thu Jan 29 14:08:29 UTC 2009
Author: holger
Date: 2009-01-29 14:08:28 +0000 (Thu, 29 Jan 2009)
New Revision: 377
Added:
trunk/fai-config-dir/scripts/DEFAULT/20-adduser-backupcron
Log:
/me <3 fluechtigskeitsfehler. not.
Added: trunk/fai-config-dir/scripts/DEFAULT/20-adduser-backupcron
===================================================================
--- trunk/fai-config-dir/scripts/DEFAULT/20-adduser-backupcron (rev 0)
+++ trunk/fai-config-dir/scripts/DEFAULT/20-adduser-backupcron 2009-01-29 14:08:28 UTC (rev 377)
@@ -0,0 +1,12 @@
+#! /bin/bash
+
+#
+# (c) 2008-2009 Holger Levsen holger at layer-acht.org
+# GPL2 licenced
+#
+
+$ROOTCMD adduser --quiet --disabled-password --gecos "" backupcron
+$ROOTCMD mkdir ~backupcron/.ssh
+$ROOTCMD chown backupcron.backupcron ~backupcron/.ssh
+$ROOTCMD chmod 700 ~backupcron/.ssh
+
Property changes on: trunk/fai-config-dir/scripts/DEFAULT/20-adduser-backupcron
___________________________________________________________________
Name: svn:executable
+ *
More information about the D-community-commits
mailing list