1 |
vip-ire |
1.1 |
--- e-smith-base-5.2.0/root/etc/e-smith/events/actions/init-accounts.fix_gpasswd_path 2010-11-29 20:20:17.000000000 +0100 |
2 |
|
|
+++ e-smith-base-5.2.0/root/etc/e-smith/events/actions/init-accounts 2010-11-29 20:21:17.000000000 +0100 |
3 |
|
|
@@ -55,7 +55,7 @@ |
4 |
|
|
if ($ldapauth eq 'enabled') |
5 |
|
|
{ |
6 |
|
|
`/usr/sbin/cpu useradd -c 'e-smith administrator' -d /home/e-smith -G shared -M -s /sbin/e-smith/console admin`; |
7 |
|
|
- `/usr/sbin/gpasswd -a admin root`; |
8 |
|
|
+ `/usr/bin/gpasswd -a admin root`; |
9 |
|
|
} |
10 |
|
|
else |
11 |
|
|
{ |
12 |
|
|
@@ -114,7 +114,7 @@ |
13 |
|
|
{ |
14 |
|
|
die "Failed to change shell and modify supplementary group list for admin.\n"; |
15 |
|
|
} |
16 |
|
|
- `/usr/sbin/gpasswd -a admin root` if ($ldapauth eq 'enabled'); |
17 |
|
|
+ `/usr/bin/gpasswd -a admin root` if ($ldapauth eq 'enabled'); |
18 |
|
|
} |
19 |
|
|
|
20 |
|
|
#-------------------------------------------------- |