[mkhome] Le fichier shell dans un répertoire du path de tout le monde
This commit is contained in:
parent
d3b91e39dc
commit
a543804c26
2 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ for user in sys.argv[1:]:
|
|||
if a and a[0]['homeDirectory'] and a[0]['uidNumber'] and a[0]['uid']:
|
||||
l.append("%s,%s,%s" % (a[0]['homeDirectory'][0], a[0]['uidNumber'][0], a[0]['uid'][0]))
|
||||
|
||||
else:
|
||||
sys.stderr.write("Usage : %s [user1] [user2] [user3] ...\n" % sys.argv[0])
|
||||
if l:
|
||||
h=gestion.gen_confs.adherents.home(l)
|
||||
h.reconfigure()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue