password problem with rsync

Payal Rathod payal-rsync at staticky.com
Wed Oct 1 15:12:18 EST 2003


On Tue, Sep 30, 2003 at 03:53:37PM -0400, Ron DuFresne wrote:
> You then have two choices, well, perhaps one;
> 
> rsh and it's issues to combat
> 
> or running in deamon mode as root and connecting to the deamon as root.
> 
> Both seem ugly to me.  Of course, if you have enough control of the 
> 'network' and can make sure it's not 'internet' bound and exposed, this 
> can be done, as long as you trust the soft chewy center as well as those 
> 'inside'.

Ahhhh! Please someone here talk in english. I am unable to understand
anything. wahhh!!!!
I just want to copy users directories thru;' cronjob from one machoine
to another and bad as it may sound I am not worried about security.

What do you want me to do in such cases. Please understand that this is
first time I am on a live IP in my life. Till now I was using just few
computers on LAN and so do nto understand much of rsync and ssh jargon.
I use ssh just to connect to my remote machine, that's all.

With warm regards,
-Payal



> Thanks,
> 
> Ron DuFresne
> 
> Payal Rathod wrote:
> 
> >On Tue, Sep 30, 2003 at 03:15:42PM -0400, Ron DuFresne wrote:
> > 
> >
> >>don't invlove the network levels, this is merely a filesystem to 
> >>filesystem 'copy', with permission ,ownership retention.  the ley is to 
> >>do this uder an account with the proper perms to read the filesystem 
> >>totally and use the proper rsync capabilities.  This means as root under 
> >>a unix like OS and as administrator or similiar account under M$ OS'.
> >>
> >>rsync -${params} /home/accounts  /newhome/accounts
> >>   
> >>
> >
> >
> >But I want them to be copied from one maxchine to another over network.
> >In this case what do you suggest?
> >
> >Thanks a lot for the help and bye.
> >
> >With warm regards,
> >-Payal
> >
> > 
> >
> >>This is almost a cp -pdR or tar type operation.  I have the samething 
> >>working from a croned job in a production env at present <smile>.  See, 
> >>not only does root/admin account have the perms to read the filesystems 
> >>and write to them, but the ability to use restricted params like -o -g, 
> >>and since those account levels own everything anyways, no passwd's 
> >>required.  And eliminating the overhead of the network, even loopback 
> >>seems to actually improve transfer times on LARGE filesystem syncs.  
> >>Mine are over 3540gigs.
> >>
> >>Thanks,
> >>
> >>Ron DuFresne
> >>
> >>Payal Rathod wrote:
> >>
> >>   
> >>
> >>>On Tue, Sep 30, 2003 at 09:02:29AM -0700, Wayne Davison wrote:
> >>>
> >>>
> >>>     
> >>>
> >>>>On Tue, Sep 30, 2003 at 07:20:42PM +0530, Payal Rathod wrote:
> >>>> 
> >>>>
> >>>>       
> >>>>
> >>>>>$ rsync --password-file=pass -e ssh -av legal.txt 
> >>>>>accounts at 127.0.0.1:/home/accounts
> >>>>>accounts at 127.0.0.1's password:
> >>>>>   
> >>>>>
> >>>>>         
> >>>>>
> >>>>Please refer to the ssh documention for how to setup ssh connections
> >>>>without being prompted (rsync does not do this for you).  Hint:  look at
> >>>>ssh-agent for one solution.  Note also that the --password-file option
> >>>>refers to connecting to a remote rsync daemon, which is not what you're
> >>>>doing.
> >>>> 
> >>>>
> >>>>       
> >>>>
> >>>You may suggest me another way without ssh. I don't want ssh. I didn't
> >>>knew of anyother way.
> >>>I just want to copy few users homedirectories.
> >>>
> >>>Thanks and bye.
> >>>-Payal
> >>>
> >>>
> >>>
> >>>     
> >>>
> >>>>..wayne..
> >>>> 
> >>>>
> >>>>       
> >>>>
> >>>
> >>>     
> >>>
> >>   
> >>
> >
> > 
> >
> 
> 

-- 
For GNU/Linux Success Stories and Articles visit:
          http://payal.staticky.com



More information about the rsync mailing list