Re: [BackupPC-users] Backup fails over rsync
2010-08-15 12:18:10
waverider wrote:
> Thanks Tyler,
> [quote="Tyler J. Wagner"]On Sunday 15 Aug 2010 06:58:11 waverider wrote:
>
>> As I said above ssh and rsync work and provide passless connection so the
>> problem must be in Backuppc config somewhere
>>
>
>
>> What is the format of the external drive? If the drive hosts the backuppc
>> user's home directory, make sure that .ssh and its contents have the right
>> permissions.
>
>
> The external drive is ext3 and permissions are OK as I can save to it from
> the remote device using rsync
>
>> Just to be clear, make sure that you have tested SSH as the backuppc user,
>> not
>> root:
>>
>> su - backuppc
>> ssh root < at > 192.168.72.11
>>
>
> Ahh -herein lies the problem. Thanks! At least that is clear now.
>
> I can rsync OK from my login but not when logged in as backuppc - it asks for
> the password. However, I am using ubuntu and backuppc is a system user, so
> doesn't have a home directory - so where do I generate keys? Or can I somehow
> use the existing keys (which work under my login) for the backuppc user?
Backuppc should have a home directory, but may not have a login shell for su.
When running as root, try 'su -l -s /bin/bash backuppc'.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
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/
|
|
|