1 |
diff -up smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-groups.patch0 smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-groups |
2 |
--- smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-groups.patch0 2012-05-26 19:04:35.000000000 -0400 |
3 |
+++ smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-groups 2013-02-02 18:06:36.000000000 -0500 |
4 |
@@ -69,7 +69,8 @@ if ($Add) { |
5 |
if (&TestUid($gid)) { |
6 |
my %group = ("Description", $fields[1], |
7 |
"Uid",$gid, |
8 |
- "Gid",$gid); |
9 |
+ "Gid",$gid, |
10 |
+ "Members",""); |
11 |
print "Creating group '$fields[0]' (GID:$gid).\n"; |
12 |
db_set(\%accounts, $groupname, 'group', \%group); |
13 |
system("/sbin/e-smith/signal-event", "group-create", $groupname) == 0 |
14 |
diff -up smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-users.patch0 smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-users |
15 |
--- smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-users.patch0 2012-05-26 19:04:35.000000000 -0400 |
16 |
+++ smeserver-lazy_admin_tools-1.0/root/usr/sbin/lat-users 2013-02-02 18:38:09.000000000 -0500 |
17 |
@@ -67,9 +67,10 @@ if ($Add) { |
18 |
"LastName", $fields[2], |
19 |
"PasswordSet", "no", |
20 |
"Uid",$uid, |
21 |
- "Gid",$uid, |
22 |
"Dept", $fields[4], |
23 |
"Company", $fields[5], |
24 |
+ "Shell", "/usr/bin/rssh", |
25 |
+ "VPNClientAccess","no", |
26 |
"Street", $fields[6], |
27 |
"City", $fields[7], |
28 |
"Phone", $fields[8], |
29 |
@@ -95,6 +96,7 @@ if ($Add) { |
30 |
if ($user{$value} eq "" ) |
31 |
{ $user{$value} = db_get_prop(\%accounts, $username, $value) } |
32 |
$user{"PasswordSet"} = db_get_prop(\%accounts, $username, "PasswordSet"); |
33 |
+ $user{"Uid"} = db_get_prop(\%accounts, $username, "Uid"); |
34 |
} |
35 |
|
36 |
$user{"Gid"} = db_get_prop(\%accounts, $username, 'Gid');; |