Change default group from 1 (daemon) to something more sensible: 100 master
authorMichael Spang <mspang@csclub.uwaterloo.ca>
Fri, 10 Nov 2006 02:53:52 +0000 (02:53 +0000)
committerMichael Spang <mspang@csclub.uwaterloo.ca>
Fri, 10 Nov 2006 02:53:52 +0000 (02:53 +0000)
    (users)

modules/Accounts.pm

index bff686e..1831cb9 100644 (file)
@@ -106,7 +106,7 @@ sub Add($) {
                                 'userPassword' => "x",
                                 'loginShell'   => "$shell",
                                 'uidNumber'    => "$uidnum",
-                                'gidNumber'    => "1",
+                                'gidNumber'    => "100",
                                 'homeDirectory'=> "/users/$userid",
                                 'gecos'        => "$realname"]
                );
@@ -293,7 +293,7 @@ sub ReAdd($) {
                                 'userPassword' => "$userpass",
                                 'loginShell'   => "$shell",
                                 'uidNumber'    => "$uidnum",
-                                'gidNumber'    => "1",
+                                'gidNumber'    => "100",
                                 'homeDirectory'=> "/users/$userid",
                                 'gecos'        => "$realname"]
                );