/[smecontribs]/rpms/smeserver-BackupPC/contribs7/smeserver-BackupPC-0.1-sudoers_enhancement.patch
ViewVC logotype

Contents of /rpms/smeserver-BackupPC/contribs7/smeserver-BackupPC-0.1-sudoers_enhancement.patch

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


Revision 1.1 - (show annotations) (download)
Wed Mar 18 11:46:40 2009 UTC (15 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_1-6_el4_sme, smeserver-BackupPC-0_1-12_el4_sme, smeserver-BackupPC-0_1-11_el4_sme, smeserver-BackupPC-0_1-7_el4_sme, smeserver-BackupPC-0_1-5_el4_sme, smeserver-BackupPC-0_1-10_el4_sme, smeserver-BackupPC-0_1-9_el4_sme, smeserver-BackupPC-0_1-8_el4_sme, HEAD
Enhance sudoers templates

1 --- smeserver-BackupPC-0.1/root/etc/e-smith/db/configuration/defaults/backuppc/sudo.sudoers_enhancement 2009-03-18 12:42:28.000000000 +0100
2 +++ smeserver-BackupPC-0.1/root/etc/e-smith/db/configuration/defaults/backuppc/sudo 2009-03-18 12:43:01.000000000 +0100
3 @@ -0,0 +1 @@
4 +/usr/bin/rsync,/bin/gtar
5 --- smeserver-BackupPC-0.1/root/etc/e-smith/templates/etc/sudoers/00BackupPCAlias.sudoers_enhancement 2009-03-18 12:41:49.000000000 +0100
6 +++ smeserver-BackupPC-0.1/root/etc/e-smith/templates/etc/sudoers/00BackupPCAlias 2009-03-18 12:42:11.000000000 +0100
7 @@ -0,0 +1,7 @@
8 +{
9 +$OUT .= "Cmnd_Alias BACKUPPC_CMD = /usr/share/BackupPC/bin/BackupPC_SME_pre-backup, /etc/rc.d/init.d/backuppc *";
10 +foreach( split( /[;,]/,( $backuppc{'sudo'} || '' ) ) ){
11 + $OUT .= ", $_";
12 +}
13 +}
14 +
15 --- smeserver-BackupPC-0.1/root/etc/e-smith/templates/etc/sudoers/20BackupPC.sudoers_enhancement 2008-10-06 15:37:18.000000000 +0200
16 +++ smeserver-BackupPC-0.1/root/etc/e-smith/templates/etc/sudoers/20BackupPC 2009-03-18 12:41:36.000000000 +0100
17 @@ -1 +1 @@
18 -backuppc ALL=(root) NOPASSWD:/usr/bin/rsync,/bin/gtar,/usr/share/BackupPC/bin/BackupPC_SME_pre-backup,/etc/rc.d/init.d/backuppc *
19 +backuppc ALL=(root) NOPASSWD: BACKUPPC_CMD

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