[Bug 8440] rsync goes interactive on missing --password-file

samba-bugs at samba.org samba-bugs at samba.org
Tue Sep 6 22:33:22 MDT 2011


https://bugzilla.samba.org/show_bug.cgi?id=8440

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Wayne Davison <wayned at samba.org> 2011-09-07 04:33:21 UTC ---
I agree that if the user specified --password-file=FOO, that rsync should use
FOO, and die if that fails.  I've checked in a change to the master branch in
git, and will probably make the same change for 3.0.9.

Note that another way to avoid a password prompt (for those using an older
rsync) is to export a bogus password (NOT the actual password) into the
RSYNC_PASSWORD environment variable in any script or crond file that is calling
rsync.  That way any failure in processing the password file will use the bogus
environment information rather than prompting for a password.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the rsync mailing list