Hello,
How can I get around this? I know I can change the user to be used in the
per-pc config file but I need to create a user that has root privelages. The
only solution seems to be to create another user with root's privelages: but
the problem seems to be that certain files that have only owner read/write
permissions cannot be accessed by anyone other than root!
I obviously cannot change permissions on these files.
Being a novice, I am hoping for an answer like: you dont need permissions to
rsync files over ssh only to 'access' them (if there is a difference), but I
am doubting this.
I really dont want to have to permit root login because if I do, then Ill
have to do it for 10s of other servers - which doesn't make our network
secure at all.
in the config.pl of your PC
$Conf{RsyncClientPath} = 'sudo /usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host $rsyncPath
$argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc $host
$rsyncPath $argList+';
and in the client,
- create a user like backuppc
- edit "/etc/sudoers" with visudo and put
backuppc ALL=NOPASSWD: /usr/bin/rsync
regards
jmb
--
-------------------------------------------------------------------
Dr Ir Jean-Michel Beuken | University of Louvain-La-Neuve
Computer Scientist | CISM, Bat P. Curie
UCL PowerComputing Manager | 1, Rue du Compas
| 1348 Louvain-La-Neuve
| BELGIUM
-------------------------------------------------------------------
Tel : +32 10473570 Fax : +32 10473452
HTTP://www.mapr.ucl.ac.be/~beuken
-------------------------------------------------------------------
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/