From: Vincent Le Gallic Date: Tue, 28 Jan 2014 21:46:55 +0000 (+0100) Subject: [-mkhome] Il existe dans /usr/scripts/respbats X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=4d027200601333fcd20d5d1361b13478ab539852;p=scripts-20-100.git [-mkhome] Il existe dans /usr/scripts/respbats --- diff --git a/mkhome.sh b/mkhome.sh deleted file mode 100755 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