Are you sure you got them all?

$ grep root config.pl

config.pl:# BackupPC might be accidently started as root or the wrong
user,
config.pl:$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host
$tarPath -c -v -f - -C $shareName+ --totals';
config.pl:$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host
$tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
config.pl:$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host
$rsyncPath $argList+';
config.pl:$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host
$rsyncPath $argList+';
config.pl:# $Conf{ServerInitdStartCmd} = '$sshPath -q -x -l root
$serverHost'
config.pl:#    $Conf{DumpPreUserCmd} = '$sshPath -q -x -l root $host
/usr/bin/dumpMysql';


Don't forget to check the individual PC config.pl files as well.
 
 
NOTE: Before you even go down that road, you should know that what you
are doing will most likely BREAK  backuppc. It should be run as root so
that all the files will be copied, and with the correct permissions.
Please be sure to understand the implications of your actions fully
before making sweeping changes like that. You can find yourself in a
world of hurt very quickly, and the moment someone needs a file restored
will be the exact moment there isn't one available.
 
 
There's nothing wrong with having backuppc use SSH keys to connect to
remote systems. If you're concerned about security (if you're not, you
should be), make sure to lock that backup machine down tightly using
iptables or some other firewall to block everything except for what you
need.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
Lauda
Sent: Wednesday, June 13, 2007 8:46 AM
To: '[email protected]'
Subject: [BackupPC-users] Hello and a ?

Hi all,

I'm new to this list and of course I'm having a problem with backuppc.
I've inherited an installation. We've have to change a few things
recently regarding ssh access to linux servers. The mechanism for
backuppc seems to be using 'root' as the user to run as even though I've
tweaked all the config.pl files I can find that mention any username and
changed them all to 'backuppc', restarted backuppc, retried
BackupPC_dump manually. It always ends with an attmept to connect to the
remote system as 'root'. I've tried strace to find out if it's reading
the config.pl's and in what order. Yes it is.. and the client's
config.pl is last.

What else can I look at to see where the ssh -l root piece is getting
thrown into the env here? It shouldn't be at this point but I'm
obviously missing something.

Thanks for any help!

~~ziggy~~

------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express Download DB2 Express C -
the FREE version of DB2 express and take control of your XML. No limits.
Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/



The information in this electronic mail message is sender's 
business Confidential and may be legally privileged.  It is 
intended solely for the addressee(s).  Access to this Internet 
electronic mail message by anyone else is unauthorized.  If 
you are not the intended recipient, any disclosure, copying, 
distribution or any action taken or omitted to be taken in 
reliance on it is prohibited and may be unlawful. The sender 
believes that this E-mail and any attachments were free of 
any virus, worm, Trojan horse, and/or malicious code when 
sent. This message and its attachments could have been 
infected during  transmission. By reading the message and 
opening any attachments, the recipient accepts full 
responsibility for taking protective and remedial action about 
viruses and other defects. Travelport Inc. is not liable for any loss 
or damage arising in any way from this message or its 
attachments.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to