BCC admins@ instead of docelic@ in quota check
[clinton/scripts.git] / create-user
index f7f9f39..b401d00 100755 (executable)
@@ -42,18 +42,18 @@ fi
 # needed.
 function mire_and_deleuze() {
     $*
-    ssh mire.hcoop.net $*
+    ssh -K mire.hcoop.net $*
 }
 
 function execute_on_fritz () {
-    ssh fritz.hcoop.net $*
+    ssh -K fritz.hcoop.net $*
 }
 
 function execute_on_all_machines () {
     $*
-    ssh mire.hcoop.net $*
-    ssh hopper.hcoop.net $*
-    ssh fritz.hcoop.net $*
+    ssh -K mire.hcoop.net $*
+    ssh -K hopper.hcoop.net $*
+    ssh -K fritz.hcoop.net $*
 }
 
 #
@@ -259,7 +259,7 @@ else
 fi
 
 # Create database tablespaces
-execute_on_fritz /afs/hcoop.net/common/etc/scripts/create-user-database $PATHBITS
+execute_on_fritz /afs/hcoop.net/common/etc/scripts/create-user-database $USER
 
 #
 # Mount points for backup volumes
@@ -278,7 +278,7 @@ vos syncserv fritz
 vos syncvldb fritz
 
 # refresh volume location cache (takes ~2hrs otherwise)
-execute_on_all fs checkvolumes
+execute_on_all_machines fs checkvolumes
 
 #
 # Non-AFS files and directories