[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Backup files with ordinary user.
- To: "linux ILUG" <linux-il(at-nospam)linux.org.il>
- Subject: Re: Backup files with ordinary user.
- From: "Ben-Nes Michael" <miki(at-nospam)canaan.co.il>
- Date: Wed, 4 Jul 2001 17:55:44 +0300
- Delivered-To: linux.org.il-linux-il@linux.org.il
- Organization: Canaan Surfing Ltd
- References: <Pine.GSO.3.95-heb-2.07.1010703134012.21924E-100000@csd>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
More Problems :(
in the past I ran ssh commands that worked charmingly, example:
ssh www "tar cz /var/log/httpd/"|dd of=some file
now using Tzafrir 5 option I have in my authorized_keys
command="tar cz /dir" 1024 37 17088959 ......
then
dd of=./some_file.tar.gz
and the file get corrupted.
Maybe block size problems maybe other problems any way its too bogus to me.
----- Original Message -----
From: "Tzafrir Cohen" <tzafrir@technion.ac.il>
To: "Ben-Nes Michael" <miki@canaan.co.il>
Cc: "linux ILUG" <linux-il@linux.org.il>
Sent: Tuesday, July 03, 2001 1:53 PM
Subject: Re: Backup files with ordinary user.
> On Tue, 3 Jul 2001, Ben-Nes Michael wrote:
>
> > Hi All
> >
> > I want to backup my servers files using tar from a central Location.
> > To do this im using ssh with RSAauth to log from my backup server to all
the
> > other servers.
> >
> > I log using ordinary user to be on the safer side but then I can't read
some
> > directories ( for instance: /var/spool/croon - rwx______ )
> > I thought of few options:
> >
> > 1. adding the ordinary user to root Group
> > 2. add access to some directive like chgrp or chmod
> > 3. tar as root - I don't like this option
>
> 4. Backup as root locally to somewhere that is accessible by local
> oridinary user
>
> 5. Perform tar as root through ssh, but limit the connection using the
> commannd= option of the autorised_keys file
>
> --
> Tzafrir Cohen
> mailto:tzafrir@technion.ac.il
> http://www.technion.ac.il/~tzafrir
>
>
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il