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 |