1 |
vip-ire |
1.1 |
diff -Nur e-smith-base-5.2.0/root/etc/e-smith/events/actions/init-accounts e-smith-base-5.2.0-cpu_www/root/etc/e-smith/events/actions/init-accounts |
2 |
|
|
--- e-smith-base-5.2.0/root/etc/e-smith/events/actions/init-accounts 2013-06-14 08:50:49.742759238 +0200 |
3 |
|
|
+++ e-smith-base-5.2.0-cpu_www/root/etc/e-smith/events/actions/init-accounts 2013-06-14 09:31:53.933154970 +0200 |
4 |
|
|
@@ -135,7 +135,7 @@ |
5 |
|
|
{ |
6 |
|
|
if ($ldapauth eq 'enabled') |
7 |
|
|
{ |
8 |
|
|
- `/usr/sbin/cpu useradd -f 'e-smith' -E 'web server' -d /home/e-smith -G shared -M -s /bin/false www`; |
9 |
|
|
+ `/usr/sbin/cpu useradd -c 'e-smith web server' -d /home/e-smith -G shared -M -s /bin/false www`; |
10 |
|
|
} |
11 |
|
|
else |
12 |
|
|
{ |
13 |
|
|
@@ -176,7 +176,7 @@ |
14 |
|
|
$groups = join (',', sort (@groupList)); |
15 |
|
|
if ($ldapauth eq 'enabled') |
16 |
|
|
{ |
17 |
|
|
- `/usr/sbin/cpu usermod -f 'e-smith' -E 'web server' -d /home/e-smith -G '$groups' -s /bin/false www`; |
18 |
|
|
+ `/usr/sbin/cpu usermod -c 'e-smith web server' -d /home/e-smith -G '$groups' -s /bin/false www`; |
19 |
|
|
} |
20 |
|
|
else |
21 |
|
|
{ |