Bingo! I followed the step to upload the ssh key (ssh-copy-id) to
the client, but for some reason the key was not uploaded. Probably
because the shell for the backuppc user was /bin/false. After I set
the shell to /bin/sh the key was succesfully transferred and backup
was succesful. Thanks!
On 05-06-16 09:05, Benjamin Redling
wrote:
Hi, have added the public key to the authorized Keys?
Sounds like it is asking for the login pw. Not the sudo pw. B
Am 5. Juni 2016 00:17:07 MESZ, schrieb
Mike Bosschaert <mike AT bosschaert DOT org>:
Hi,
I've been using backuppc for years now with no problems.
Recently I've had to reinstall my os (opensuse leap) on one of
my clients. I added the user backuppc, added the user to the
sudoers file (using visudo) with the NOPASSWD:/usr/bin/rsync
option. But when I issue the backup command from the backup
server:
/usr/bin/ssh -q -x -l backuppc 192.168.2.102 nice -n 19
sudo /usr/bin/rsync --server --sender --numeric-ids --perms
--owner --group -D --links --hard-links --times
--block-size=2048 --recursive . /
the client keeps asking for the password.
Is there someone who could help me solving this problem?
Thx
Mike
|
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|