/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.4.0-user_modify_in_bootstrap.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme9/e-smith-base-5.4.0-user_modify_in_bootstrap.patch

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


Revision 1.1 - (show annotations) (download)
Thu Feb 21 19:32:24 2013 UTC (11 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-base-5_4_0-15_el6_sme, e-smith-base-5_4_0-11_el6_sme, e-smith-base-5_4_0-12_el6_sme, e-smith-base-5_4_0-14_el6_sme, e-smith-base-5_4_0-13_el6_sme
* Thu Feb 21 2013 Daniel Berteaud <daniel@firewall-services.com> 5.4.0-11.sme
- Optimize user-modify-unix script and link it in bootstrap-ldap-save [SME: 7387]

1 diff -Nur e-smith-base-5.2.0-optimize_user_modify_unix/createlinks e-smith-base-5.2.0-user_modify_in_bootstrap/createlinks
2 --- e-smith-base-5.2.0-optimize_user_modify_unix/createlinks 2013-01-30 21:29:34.031216617 +0100
3 +++ e-smith-base-5.2.0-user_modify_in_bootstrap/createlinks 2013-01-31 19:14:54.980807821 +0100
4 @@ -335,6 +335,7 @@
5 templates2events("/etc/nsswitch.conf", $event);
6 templates2events("/etc/pam.d/system-auth", $event);
7 event_link("user-lock-passwd", $event, "15");
8 +event_link("user-modify-unix", $event, "15");
9
10 #--------------------------------------------------
11 # actions for group-create event
12 @@ -417,7 +418,6 @@
13 event_link("conf-startup", $event, "10");
14 event_link("user-lock-passwd", $event, "15");
15 event_link("group-modify-unix", $event, "15");
16 -event_link("user-modify-unix", $event, "15");
17 event_link("update-passwd", $event, "20");
18 event_link("count-active-user-accounts", $event, "25");
19 event_link("conf-modules", $event, "30");
20 diff -Nur e-smith-base-5.2.0-optimize_user_modify_unix/root/etc/e-smith/events/actions/user-modify-unix e-smith-base-5.2.0-user_modify_in_bootstrap/root/etc/e-smith/events/actions/user-modify-unix
21 --- e-smith-base-5.2.0-optimize_user_modify_unix/root/etc/e-smith/events/actions/user-modify-unix 2013-01-30 21:31:10.221693946 +0100
22 +++ e-smith-base-5.2.0-user_modify_in_bootstrap/root/etc/e-smith/events/actions/user-modify-unix 2013-01-31 19:15:51.560227676 +0100
23 @@ -57,7 +57,7 @@
24 my $a = esmith::AccountsDB->open or die "Could not open accounts db";
25
26 my @users;
27 -if ($event eq 'post-upgrade')
28 +if ($event eq 'bootstrap-ldap-save')
29 {
30 @users = $a->users;
31 }

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