Import initial !
darcs-hash:20040831131446-d1718-0734aa73d3b8481b3b4b861e447e85128e488e8a.gz
This commit is contained in:
parent
c9083dfd86
commit
6626a44f15
20 changed files with 6494 additions and 0 deletions
14
gestion/gen_confs/home.py
Normal file
14
gestion/gen_confs/home.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
home
|
||||
home = args[0]
|
||||
os.mkdir(home, 0755)
|
||||
os.mkdir(home + '/Mail', 0700)
|
||||
os.lchown(home, int(args[1]) ,config.gid)
|
||||
os.system('/usr/sbin/edquota -p pauget %s' % arg[3] )
|
||||
|
||||
ML-ENS
|
||||
if os.system("echo '%s' | /usr/sbin/add_members -r - com-ens" % mail) :
|
||||
# Il y a eu une erreur
|
||||
arg = u'--title "Inscription Mailing liste de communiquation ENS" '
|
||||
arg+= u'--msgbox "Une erreur s\'est produite lors de l\'ajout à la mailing liste.\n\n\n" 0 0'
|
||||
dialog(arg)
|
Loading…
Add table
Add a link
Reference in a new issue