passing rsyncd password in a script (no ssh) - how?

Wojtek.Pilorz wpilorz at bdk.pl
Thu Jan 11 07:28:42 GMT 2007


On Wed, 10 Jan 2007, Matt McCutchen wrote:

> Date: Wed, 10 Jan 2007 17:35:55 -0500
> From: Matt McCutchen <hashproduct+rsync at gmail.com>
> To: Wojtek.Pilorz <wpilorz at bdk.pl>
> Cc: Tomasz Chmielewski <mangoo at wpkg.org>, rsync at lists.samba.org
> Subject: Re: passing rsyncd password in a script (no ssh) - how?
> 
> On 1/10/07, Wojtek.Pilorz <wpilorz at bdk.pl> wrote:
> > secret_pass would no longer be secret on most systems;
> > Consider using --password-file instead.
> 
> I doubt that environment variables are readable by others "on most
> systems".  On my Linux 2.6.18 system, a process's environment
> variables are only readable by its owner.  However, I prefer to use a

That is true, I should have checked. 

> password file anyway.
> 
> Matt
> 
Thanks.

Wojtek




More information about the rsync mailing list