Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-25 Thread Filipe Brandenburger
Hi, On Wed, Jun 24, 2009 at 09:46, Nick Smith wrote: > From the backuppc server to the client1 it logs in without a password. Good, a backup of this client should work just fine. > From the backuppc server to the client2 it asks for a password. Problem: you must add the SSH key of the backuppc

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-24 Thread Les Mikesell
Ryan Knapper wrote: > > > >From the client2 to the backuppc server i get this error: > # sudo -u backuppc ssh -p 22252 r...@backup-server > sudo: no passwd entry for backuppc! > > Which is where i tried to add the backuppc user to the client machine > to see if that was the

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-24 Thread Ryan Knapper
On Wed, Jun 24, 2009 at 06:46, Nick Smith wrote: > >> > > > > > It should not change anything, since the BackupPC dæmon is launched by > root. > > However, most installations intentionally do not create a password for > the > > backuppc user for security reasons. From root, running su -s /bin/b

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-24 Thread Nick Smith
>> > > > It should not change anything, since the BackupPC dæmon is launched by root. >  However, most installations intentionally do not create a password for the > backuppc user for security reasons.  From root, running su -s /bin/bash > backuppc should switch to that user without having to chang

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Ryan Knapper
On Tue, Jun 23, 2009 at 13:40, Nick Smith wrote: > Does anyone know if i can change the password to the backuppc user in linux > and not have any adverse effects with the backuppc system? > > On Tue, Jun 23, 2009 at 3:17 PM, Nick Smith wrote: > > On Tue, Jun 23, 2009 at 2:46 PM, Matthias Meyer >

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Chris Robertson
Nick Smith wrote: > Does anyone know if i can change the password to the backuppc user in linux > and not have any adverse effects with the backuppc system? > Yes, you can. The account doesn't actually NEED a password. Chris --

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Nick Smith
Does anyone know if i can change the password to the backuppc user in linux and not have any adverse effects with the backuppc system? On Tue, Jun 23, 2009 at 3:17 PM, Nick Smith wrote: > On Tue, Jun 23, 2009 at 2:46 PM, Matthias Meyer wrote: >> Nick Smith wrote: >>> >>> Ok, new problem, i cant ge

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Nick Smith
On Tue, Jun 23, 2009 at 2:46 PM, Matthias Meyer wrote: > Nick Smith wrote: >> >> Ok, new problem, i cant get the backuppc user to work with shared keys. >> Ive added the /var/lib/backuppc/.ssh/id_rsa.pub contents to the other >> linux box's > in /root/.ssh I assume. yes into authorized_keys and _k

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Matthias Meyer
Nick Smith wrote: > > Ok, new problem, i cant get the backuppc user to work with shared keys. > Ive added the /var/lib/backuppc/.ssh/id_rsa.pub contents to the other > linux box's in /root/.ssh I assume. > authorized_keys and _keys2 file and it always prompts for a password. > The password > does

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Les Mikesell
Nick Smith wrote: >> The root setup on the backuppc server side is irrelevant. You may have >> set it up in addition to the correct backuppc setup. You don't need it. >> >>> The command that backuppc is running in the config is: >>> $sshPath -q -x -p 22200 -l root $host $rsyncPath $argList+ >>> S

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Nick Smith
> The root setup on the backuppc server side is irrelevant.  You may have > set it up in addition to the correct backuppc setup.  You don't need it. > >> The command that backuppc is running in the config is: >> $sshPath -q -x -p 22200 -l root $host $rsyncPath $argList+ >> So i thought i had to hav

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Les Mikesell
Nick Smith wrote: >>> Communication working both directions. >>> r...@backup-server:/root/.ssh# ssh -p 22200 -l root webserver whoami >>> root >> You are supposed to be the backuppc user on the backuppc server when you >> do this test. You are executing it as root. >> > > Whats strange is thats h

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-23 Thread Nick Smith
>> Communication working both directions. >> r...@backup-server:/root/.ssh# ssh -p 22200 -l root webserver whoami >> root > > You are supposed to be the backuppc user on the backuppc server when you > do this test.  You are executing it as root. > Whats strange is thats how i setup the first linux

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-22 Thread Holger Parplies
Hi, Nick Smith wrote on 2009-06-22 15:35:13 -0400 [[BackupPC-users] problems with linux host - Unable to read 4 bytes]: > The error message as you all know im sure: no, we didn't know. I'll mark the relevant line: > full backup started for directory / > Running: /usr/bin/ss

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-22 Thread Les Mikesell
Nick Smith wrote: > > Communication working both directions. > r...@backup-server:/root/.ssh# ssh -p 22200 -l root webserver whoami > root You are supposed to be the backuppc user on the backuppc server when you do this test. You are executing it as root. > r...@server:~# ssh -p 22252 -l root

Re: [BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-22 Thread Ryan Knapper
Root may be able to log in to the remove system, but can the backuppc user? Try this: > r...@backup-server:/root/.ssh# sudo -u backuppc ssh -p 22200 -l root > webserver whoami I would bet that it's prompting you to accept the key for this new server. On Mon, Jun 22, 2009 at 12:35, Nick Smith

[BackupPC-users] problems with linux host - Unable to read 4 bytes

2009-06-22 Thread Nick Smith
Im in the process of adding some linux clients to the backuppc server. Ive successfully setup one server on the backup server. The second one is giving me problems. I set it up the same way, i can ssh from one box to the other as root with no password. The shared keys seem to be working correctl