]> gitweb.pimeys.fr Git - scripts-20-100.git/commitdiff
[-mkhome] Il existe dans /usr/scripts/respbats
authorVincent Le Gallic <legallic@crans.org>
Tue, 28 Jan 2014 21:46:55 +0000 (22:46 +0100)
committerVincent Le Gallic <legallic@crans.org>
Tue, 28 Jan 2014 21:46:55 +0000 (22:46 +0100)
mkhome.sh [deleted file]

diff --git a/mkhome.sh b/mkhome.sh
deleted file mode 100755 (executable)
index 21a135e..0000000
--- a/mkhome.sh
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/bash
-
-# Pour fabriquer le home d'un utilisateur
-
-for user in $@
-do
-    echo $user ?
-    read
-    mkdir -v -p /home/$user/Mail
-    chown -v -R $user:users /home/$user/
-    chmod -v 700 /home/$user/Mail
-    mkdir -v -p /home/mail/$user/
-    chown -v $user:mail /home/mail/$user/
-done