[Debconf-video-commits] r312 - in fai-config: class scripts scripts/H01GER

holger at alioth.debian.org holger at alioth.debian.org
Tue Mar 3 14:15:49 UTC 2009


Author: holger
Date: 2009-03-03 14:15:48 +0000 (Tue, 03 Mar 2009)
New Revision: 312

Added:
   fai-config/scripts/H01GER/
   fai-config/scripts/H01GER/10-adduser-dvswitch
Modified:
   fai-config/class/50-h01ger-classes
Log:
add class for local modifications

Modified: fai-config/class/50-h01ger-classes
===================================================================
--- fai-config/class/50-h01ger-classes	2009-03-03 13:23:42 UTC (rev 311)
+++ fai-config/class/50-h01ger-classes	2009-03-03 14:15:48 UTC (rev 312)
@@ -10,4 +10,4 @@
    goldwasser)  echo "XORG ENCODING REVIEW STORAGE"
 esac
 
-
+echo "H01GER"

Added: fai-config/scripts/H01GER/10-adduser-dvswitch
===================================================================
--- fai-config/scripts/H01GER/10-adduser-dvswitch	                        (rev 0)
+++ fai-config/scripts/H01GER/10-adduser-dvswitch	2009-03-03 14:15:48 UTC (rev 312)
@@ -0,0 +1,21 @@
+#! /bin/bash
+
+#
+#        (c) 2006-2009 Holger Levsen         holger at layer-acht.org
+#        GPL2 licenced
+#
+
+USER=dvswitch
+$ROOTCMD adduser --quiet --disabled-password --gecos "" $USER
+
+$ROOTCMD mkdir -p /home/$USER/.ssh
+$ROOTCMD touch /home/$USER/.ssh/authorized_keys
+$ROOTCMD chown -R $USER.$USER /home/$USER/.ssh
+$ROOTCMD chmod 700 /home/$USER/.ssh
+
+# we normally get this group from ldap
+addgroup --quiet --gid 1008 videoteam
+
+# the videoteam group which owns the raw1394 device etc
+for i in dialout cdrom floppy audio video plugdev powerdev nvram netdev videoteam ; do $ROOTCMD adduser --quiet $USER $i ; done
+  


Property changes on: fai-config/scripts/H01GER/10-adduser-dvswitch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Debconf-video-commits mailing list