On Wed, 10 Jan 2007, Eberhard Moenkeberg wrote: > Date: Wed, 10 Jan 2007 23:42:46 +0100 (CET) > From: Eberhard Moenkeberg <[EMAIL PROTECTED]> > To: rsync@lists.samba.org > Subject: Re: passing rsyncd password in a script (no ssh) - how? > > Hi, > > On Wed, 10 Jan 2007, Matt McCutchen wrote: > > On 1/10/07, Wojtek.Pilorz <[EMAIL PROTECTED]> 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.
If not exported, would not be seen by rsync, either. So I meant exported variables of course. In current Linux systems they are not readable by other users, as Matt noted. > > Cheers -e > Regards, Wojtek -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html