/[smeserver]/rpms/e-smith-nutUPS/sme9/e-smith-nutUPS-2.4.0.UPS_administrative_privileges.patch
ViewVC logotype

Diff of /rpms/e-smith-nutUPS/sme9/e-smith-nutUPS-2.4.0.UPS_administrative_privileges.patch

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

Revision 1.1 by stephdl, Tue Feb 3 18:09:37 2015 UTC Revision 1.2 by stephdl, Tue Feb 3 21:15:48 2015 UTC
# Line 14  diff -Nur e-smith-nutUPS-2.4.0.old8826/r Line 14  diff -Nur e-smith-nutUPS-2.4.0.old8826/r
14   }   }
15  diff -Nur e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges e-smith-nutUPS-2.4.0.bz8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges  diff -Nur e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges e-smith-nutUPS-2.4.0.bz8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges
16  --- e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges       1970-01-01 01:00:00.000000000 +0100  --- e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges       1970-01-01 01:00:00.000000000 +0100
17  +++ e-smith-nutUPS-2.4.0.bz8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges        2015-02-02 23:14:22.294683885 +0100  +++ e-smith-nutUPS-2.4.0.bz8826/root/etc/e-smith/templates/etc/hosts.allow/upsd_admin_privileges        2015-02-03 22:00:31.228971082 +0100
18  @@ -0,0 +1,4 @@  @@ -0,0 +1,7 @@
19  +{  +{
20  +$OUT .=  qq (#Allow the Admin User of upsd  +my $upsd = $DB->hosts_allow_spec('nut','upsd');
21  +upsd : admin op localhost : ALLOW) if ($nut{AdminUser} eq 'enabled');  +$upsd =~ s|upsd:|upsd: admin op localhost :|;
22    +
23    +$OUT .= qq(#Allow the Admin User of upsd
24    +$upsd\n) if ($nut{AdminUser} eq 'enabled');
25  +}  +}
26  diff -Nur e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/ups/upsd.users/upsd_administrative_privileges e-smith-nutUPS-2.4.0.bz8826/root/etc/e-smith/templates/etc/ups/upsd.users/upsd_administrative_privileges  diff -Nur e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/ups/upsd.users/upsd_administrative_privileges e-smith-nutUPS-2.4.0.bz8826/root/etc/e-smith/templates/etc/ups/upsd.users/upsd_administrative_privileges
27  --- e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/ups/upsd.users/upsd_administrative_privileges   1970-01-01 01:00:00.000000000 +0100  --- e-smith-nutUPS-2.4.0.old8826/root/etc/e-smith/templates/etc/ups/upsd.users/upsd_administrative_privileges   1970-01-01 01:00:00.000000000 +0100


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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