1 |
diff -Nur e-smith-base-5.2.0/root/etc/e-smith/events/actions/init-accounts e-smith-base-5.2.0_bz7932/root/etc/e-smith/events/actions/init-accounts |
2 |
--- e-smith-base-5.2.0/root/etc/e-smith/events/actions/init-accounts 2014-02-07 18:22:10.489321382 +0100 |
3 |
+++ e-smith-base-5.2.0_bz7932/root/etc/e-smith/events/actions/init-accounts 2014-02-07 18:37:16.396352113 +0100 |
4 |
@@ -47,7 +47,8 @@ |
5 |
unless getgrnam("slocate"); |
6 |
system(qw(/usr/sbin/useradd -u 38 -s /sbin/nologin -d /etc/ntp ntp)) |
7 |
unless (getpwnam("ntp")); |
8 |
- |
9 |
+system(qw(/usr/sbin/groupadd -g 102 -r -o -f apache)) |
10 |
+ unless getgrnam("apache"); |
11 |
|
12 |
# create user "admin" if not already present; |
13 |
if ( !getpwnam("admin") ) |