[sysadmin-bin] create-auth: really create home directories



commit dfc1387e3d77b94d3e6bee5cc1f6bf48d12d2326
Author: Olav Vitters <olav vitters nl>
Date:   Sat Apr 2 16:08:22 2011 +0200

    create-auth: really create home directories

 create-auth |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/create-auth b/create-auth
index 414e676..92e8f4e 100755
--- a/create-auth
+++ b/create-auth
@@ -116,9 +116,6 @@ def create_home_directories(uids_data):
         if dst != '/home/users/%s' % uid or os.path.isdir(dst):
             continue
 
-        print "would create homedir: %s %s" % (uid, dst)
-        continue
-
         shutil.copytree(src, dst, True)
         subprocess.call(['/bin/chown', '-R', '%s:%s' % (user['uidNumber'], user['gidNumber']), dst ])
         created_uids.add(uid)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]