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

Contents of /rpms/smeserver-BackupPC/contribs8/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)
Thu Feb 7 02:18:15 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_1-12_el5_sme, HEAD
Initial import

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