Change default group from 1 (daemon) to something more sensible: 100
[mspang/plceo2.git] / 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"]
                );