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

Eberhard Moenkeberg emoenke at
Wed Jan 10 22:42:46 GMT 2007


On Wed, 10 Jan 2007, Matt McCutchen wrote:
> On 1/10/07, Wojtek.Pilorz <wpilorz at> 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
> password file anyway.

Environment variables are shell internals. If you do not 'export' them, 
not even subshells can see them.

Cheers -e
Eberhard Moenkeberg (emoenke at, em at

More information about the rsync mailing list