/[smecontribs]/rpms/smeserver-BackupPC/contribs10/smeserver-BackupPC-0.2-bz10884-localhostBackupWithoutSSH.patch
ViewVC logotype

Contents of /rpms/smeserver-BackupPC/contribs10/smeserver-BackupPC-0.2-bz10884-localhostBackupWithoutSSH.patch

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


Revision 1.1 - (show annotations) (download)
Fri Apr 2 04:42:57 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_2-8_el7_sme, smeserver-BackupPC-0_2-9_el7_sme, smeserver-BackupPC-0_2-10_el7_sme, smeserver-BackupPC-0_2-15_el7_sme, smeserver-BackupPC-0_2-13_el7_sme, smeserver-BackupPC-0_2-14_el7_sme, smeserver-BackupPC-0_2-11_el7_sme, smeserver-BackupPC-0_2-12_el7_sme, HEAD
* Fri Apr 02 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.2-8.sme
- allow localhost SME backup without SSH, but sudo [SME: 10884]

1 diff -Nur --no-dereference smeserver-BackupPC-0.2.old/root/etc/BackupPC/pc/localserver-template.pl smeserver-BackupPC-0.2/root/etc/BackupPC/pc/localserver-template.pl
2 --- smeserver-BackupPC-0.2.old/root/etc/BackupPC/pc/localserver-template.pl 2013-11-12 13:07:16.000000000 -0500
3 +++ smeserver-BackupPC-0.2/root/etc/BackupPC/pc/localserver-template.pl 2021-04-02 00:39:11.989000000 -0400
4 @@ -25,4 +25,8 @@
5 $Conf{RsyncClientRestoreCmd} = '/usr/bin/sudo $rsyncPath $argList+';
6 $Conf{ClientNameAlias} = '127.0.0.1';
7 $Conf{BackupsDisable} = 1;
8 +$Conf{RsyncSshArgs} = [
9 + '-e',
10 + '/usr/bin/sudo -p'
11 +];
12

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