/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-add_apache_group_if_missing.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-add_apache_group_if_missing.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Feb 7 17:45:58 2014 UTC (10 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-88_el5_sme, e-smith-base-5_2_0-89_el5_sme
* Fri Feb 7 2014 Daniel Berteaud <daniel@firewall-services.com> 5.2.0-88.sme
- Add the apache group if it's missing [SME: 7932]

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_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") )

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed