/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz9642-init-accounts.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.0-bz9642-init-accounts.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Dec 11 19:19:57 2020 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_0-71_el7_sme, e-smith-base-5_8_0-69_el7_sme, e-smith-base-5_8_0-70_el7_sme, e-smith-base-5_8_0-83_el7_sme, e-smith-base-5_8_0-96_el7_sme, e-smith-base-5_8_0-95_el7_sme, e-smith-base-5_8_0-80_el7_sme, e-smith-base-5_8_0-85_el7_sme, e-smith-base-5_8_0-81_el7_sme, e-smith-base-5_8_0-82_el7_sme, e-smith-base-5_8_0-88_el7_sme, e-smith-base-5_8_0-99_el7_sme, e-smith-base-5_8_0-94_el7_sme, e-smith-base-5_8_0-98_el7_sme, e-smith-base-5_8_0-97_el7_sme, e-smith-base-5_8_0-92_el7_sme, e-smith-base-5_8_0-75_el7_sme, e-smith-base-5_8_0-78_el7_sme, e-smith-base-5_8_0-90_el7_sme, e-smith-base-5_8_0-93_el7_sme, e-smith-base-5_8_0-74_el7_sme, e-smith-base-5_8_0-77_el7_sme, e-smith-base-5_8_0-73_el7_sme, e-smith-base-5_8_0-76_el7_sme, e-smith-base-5_8_0-79_el7_sme, e-smith-base-5_8_0-91_el7_sme, e-smith-base-5_8_0-86_el7_sme, e-smith-base-5_8_0-87_el7_sme, e-smith-base-5_8_0-68_el7_sme, e-smith-base-5_8_0-72_el7_sme, e-smith-base-5_8_0-84_el7_sme, e-smith-base-5_8_0-89_el7_sme
* Fri Dec 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 5.8.0-68.sme
- fix init-accounts [SME: 9642]

1 jpp 1.1 diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/init-accounts e-smith-base-5.8.0/root/etc/e-smith/events/actions/init-accounts
2     --- e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/init-accounts 2016-02-04 18:14:13.000000000 -0500
3     +++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/init-accounts 2020-12-11 14:15:17.931000000 -0500
4     @@ -59,14 +59,19 @@
5    
6    
7     # fix permissions for www and apache
8     -warn "failed to fix permissions for www" unless (
9     - system("/bin/rpm --setugids --setperms horde imp-h3 ingo-h3 turba-h3 2> /dev/null") == 0
10     - );
11     +# horde does not use www / apache anymore
12     +#warn "failed to fix permissions for www" unless (
13     +# system("/bin/rpm --setugids --setperms horde 2> /dev/null") == 0
14     +# );
15    
16     warn "failed to fix permissions for apache" unless (
17     - system("/bin/rpm --setugids --setperms httpd mod_auth_tkt mod_ssl php pwauth 2> /dev/null") == 0
18     + system("/bin/rpm --setperms httpd mod_auth_tkt mod_ssl php pwauth 2> /dev/null") == 0
19     + );
20     +warn "failed to fix user group ids for apache" unless (
21     + system("/bin/rpm --setugids httpd mod_auth_tkt mod_ssl php pwauth 2> /dev/null") == 0
22     );
23    
24     +
25     # delete unwanted user accounts
26     foreach my $user (qw(halt shutdown sync))
27     {

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