1 |
diff -up e-smith-base-5.2.0/root/etc/e-smith/events/actions/user-create-unix.fix-gid e-smith-base-5.2.0/root/etc/e-smith/events/actions/user-create-unix |
2 |
--- e-smith-base-5.2.0/root/etc/e-smith/events/actions/user-create-unix.fix-gid 2010-11-30 10:01:41.000000000 -0700 |
3 |
+++ e-smith-base-5.2.0/root/etc/e-smith/events/actions/user-create-unix 2010-11-30 10:02:19.000000000 -0700 |
4 |
@@ -88,7 +88,7 @@ if ($ldapauth ne 'enabled') |
5 |
system( |
6 |
"/usr/sbin/useradd", |
7 |
"-u", $uid, |
8 |
- "-g", $uid, |
9 |
+ "-g", $gid, |
10 |
"-c", "$first $last", |
11 |
"-d", "/home/e-smith/files/users/$userName", |
12 |
"-G", "shared", |
13 |
@@ -118,7 +118,7 @@ $tmpattr->flush(); |
14 |
system( |
15 |
"/usr/sbin/cpu", "useradd", |
16 |
"-u", $uid, |
17 |
- "-g", $uid, |
18 |
+ "-g", $gid, |
19 |
"-c", "$first $last", |
20 |
"-f", "$first", |
21 |
"-E", "$last", |