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

2011-09-06 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=8440 Summary: rsync goes interactive on missing --password-file Product: rsync Version: 3.1.0 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5

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

2011-09-06 Thread samba-bugs
Resolution||FIXED --- Comment #1 from Wayne Davison way...@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

Can't script failure for missing --password-file

2011-08-02 Thread Philip Rowlands
I've a script which calls: rsync --password-file=password.txt rsync://server/files /files However, due to an unrelated error password.txt was missing. In authenticate.c:auth_client, the code tries to read from the password file, then tries the RSYNC_PASSWORD env var, then calls getpass(3

password-file problem of cwrsync in windows

2009-12-08 Thread 夏凯
i get a problem in use cwrsync in windows, when i use the password-file. i get the error below: the password-file must not world-wild read. and when i use rsync in the cygwin with the same command, it just succeed. if i input the password directly, both ok. -- 从我的移动设备发送 contact me: MSN: walke

Re: --password-file

2009-02-16 Thread Wayne Davison
On Sun, Feb 15, 2009 at 05:08:36AM -0700, lewis butler wrote: This tells everyone the exact length of each password The docs should actually say that everything after the first line of the file is ignored. So, feel free to add any text you like after that. I'll improve the man page to get this

Re: --password-file

2009-02-16 Thread lewis butler
On 16-Feb-2009, at 01:18, Wayne Davison wrote: On Sun, Feb 15, 2009 at 05:08:36AM -0700, lewis butler wrote: This tells everyone the exact length of each password The docs should actually say that everything after the first line of the file is ignored. So, feel free to add any text you like

--password-file

2009-02-15 Thread lewis butler
The man page says: --password-file This option allows you to provide a password in a file for accessing an rsync daemon. The file must not be world readable. It should contain just the password as a single line. The trouble

rsync man pages, rsync faqs, problem with RSYNC_PASSWORD and --password-file

2008-01-29 Thread Peter Halverson
. The problem is that the man pages are misleading, they suggest that RSYNC_PASSWORD and --password-file are the answer. That might have been true in the past, but now they just don't work, as far as I can tell. The documentation needs to say up front that the right way to do it is to use

[PATCH] Make it abundantly clear that neither --password-file nor RSYNC_PASSWORD supplies a password to a remote shell, and point users to the remote shell documentation.

2008-01-29 Thread Matt McCutchen
--- rsync.yo |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/rsync.yo b/rsync.yo index 870993a..8145687 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1944,6 +1944,8 @@ dit(bf(--password-file)) This option allows you to provide a password in a file for accessing an rsync

Re: rsync reports some files could not be transferred (code 23) when problems occur with password-file

2007-11-05 Thread Wayne Davison
On Thu, Nov 01, 2007 at 12:59:32PM +0100, Bas van Schaik wrote: rsync: could not open password file /tmp/non-existing-file: No such file or directory (2) Password: rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] This is now fixed in the CVS

rsync reports some files could not be transferred (code 23) when problems occur with password-file

2007-11-01 Thread Bas van Schaik
Hi all, I think I just found a small bug in rsync... It has costed me about half an hour searching for a problem which actually didn't exist! If you use rsync like this: rsync --password-file=/tmp/non-existing-file /tmp/somefile [EMAIL PROTECTED]::tmp/ Rsync will ask for the password since

Re: issues with password-file

2006-04-03 Thread Wayne Davison
secrets file or with the client's password file. Keep in mind that the client's password file should have nothing in it other than the password, and it must NOT be world readable. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http

Re: issues with password-file

2006-04-03 Thread Wayne Davison
On Sun, Apr 02, 2006 at 10:55:38AM -0500, Larry Hotchkiss wrote: To test the accuracy of the error I renamed the password-file=/path/secrets.rsync to something else but left the command unchanged and I got the identicle auth error which tells me that it will give a password mismatch if it cant

Re: issues with password-file

2006-04-02 Thread Larry Hotchkiss
At 09:44 PM 4/1/2006 -0800, Wayne Davison wrote: On Fri, Mar 31, 2006 at 06:52:30PM -0600, Larry Hotchkiss wrote: rsync -P -v -W -r --password-file=/path/secrets.rsync * [EMAIL PROTECTED]::lhotch/ I assume you meant to say test there instead of lhotch, since that's the module's name

Re: issues with password-file

2006-04-02 Thread Larry Hotchkiss
At 09:44 PM 4/1/2006 -0800, Wayne Davison wrote: On Fri, Mar 31, 2006 at 06:52:30PM -0600, Larry Hotchkiss wrote: rsync -P -v -W -r --password-file=/path/secrets.rsync * [EMAIL PROTECTED]::lhotch/ I assume you meant to say test there instead of lhotch, since that's the module's name. 2006

Re: issues with password-file

2006-04-01 Thread Wayne Davison
On Fri, Mar 31, 2006 at 06:52:30PM -0600, Larry Hotchkiss wrote: rsync -P -v -W -r --password-file=/path/secrets.rsync * [EMAIL PROTECTED]::lhotch/ I assume you meant to say test there instead of lhotch, since that's the module's name. 2006/03/31 17:45:00 [3494] auth failed on module test

issues with password-file

2006-03-31 Thread Larry Hotchkiss
area path = /lhotch read only = no list = yes use chroot = yes hosts allow = xx.xx.xx.xx auth users = larry secrets file = /etc/rsyncd.secrets from the web host when I run the following command rsync -P -v -W -r --password-file=/path

Re: doubt regarding rsync password file

2005-11-27 Thread Matt McCutchen
On Thu, 2005-11-24 at 14:49 +0530, Krishnaprasad wrote: I am facing a problem while copying a file to a remote system by specifying password in a password file. While trying to copy with password file it again prompts for the password. what may be the reason Are you using SSH? --password

doubt regarding rsync password file

2005-11-24 Thread Krishnaprasad
Hi all I am a newbie to this group. I am facing a problem while copying a file to a remote system by specifying password in a password file. While trying to copy with password file it again prompts for the password. what may be the reason Pls suggest any idea.. thanks krishna

Re: rsync --password-file= Problem

2005-11-10 Thread Wayne Davison
On Thu, Nov 10, 2005 at 04:37:18PM +0100, Jan Verbesselt wrote: rsync -avzuC --delete --password-file=/cygdrive/d/test/test.txt /cygdrive/d/test/ [EMAIL PROTECTED]:/home/janvb/test The --password-file option is used for connecting with an rsync daemon, so it has no effect on the password prompt

Rsync from windows 98 with a password file

2005-06-03 Thread Pete Letkeman
When I use this command from a Windows XP system everything works fine: C:\cwrsync\cwrsyncrsync.exe -avzr --stats --password file=c:\cwrsync\pete.secret --files-from=filesfrom.dat / [EMAIL PROTECTED]::testing But when I try if from a Windows 98 system I get this error message: password file

Re: Rsync from windows 98 with a password file

2005-06-03 Thread Ken Gregoire
everything works fine: C:\cwrsync\cwrsyncrsync.exe -avzr --stats --password file=c:\cwrsync\pete.secret --files-from=filesfrom.dat / [EMAIL PROTECTED]::testing But when I try if from a Windows 98 system I get this error message: password file must not be other-accessible continuing without password

[Bug 1508] Using options --modify-window and --password-file cause error in rsync protocol data stream (code 12)

2005-03-18 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=1508 [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug 1508] Using options --modify-window and --password-file cause error in rsync protocol data stream (code 12)

2005-02-25 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=1508 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |ASSIGNED --- Additional

[Bug 1877] Auth failed using options --password-file with particular password

2005-01-10 Thread samba-bugs
||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2005-01-10 13:10 --- I am unable to duplicate this using 2.6.3. One possible reason for the failure in 2.6.2 is that rsync would fail to read a line in the secrets or password file if the file did not end

[Bug 1508] New: Using options --modify-window and --password-file cause error in rsync protocol data stream (code 12)

2004-07-09 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=1508 Summary: Using options --modify-window and --password-file cause error in rsync protocol data stream (code 12) Product: rsync Version: 2.6.2 Platform: x86 OS/Version: Windows XP

password file - not working on windows

2003-12-20 Thread Samuel Proulx
Hi, I'm backing up a windows machine on a Debian server with rsync. However, whenever I run rsync from a batch file on windows, it says password file must not be other-readable. and then asks for my password. How can I fix this problem and get rsync to accept my password file? Unfortunately

AW: PAssword-file in rsync

2003-10-23 Thread Rainer Stengele
. Oktober 2003 05:26 An: [EMAIL PROTECTED] Betreff: PAssword-file in rsync Hi , I have installed cygwin in windows 2000 prof.The cygwin works properly I have setup RSYNC server in SUSE Linux machine ,i want to make my windows 2000 prof as my rsync client .I tried useing --password-file

PAssword-file in rsync

2003-10-22 Thread sumithra
Hi , I have installed cygwin in windows 2000 prof.The cygwin works properly I have setup RSYNC server in SUSE Linux machine ,i want to make my windows 2000 prof as my rsync client .I tried useing --password-file option , but that doesn't work for me .I scheduled the task in windows 2000

Re: rsync --password-file on cygwin

2002-08-13 Thread diburim
PROTECTED]) Subject: [PATCH] rsync on cygwin - textmode config files Newsgroups: mailing.unix.rsync View this article only Date: 2002-02-19 22:29:15 PST ... (3) Third, under CYGWIN, it makes little sense to force attribute check on the password file. It can be made to work if env var CYGWIN

Re: rsync --password-file on cygwin

2002-08-12 Thread tim . conway
Conway/LMT/SC/PHILIPS) Subject:rsync --password-file on cygwin Classification: Hi. As the man page explains, and this message http://www.mail-archive.com/rsync@lists.samba.org/msg04069.html summarizes from the different man pages rsync will not use the password

Useless option combos (was Re: --password-file switch)

2002-07-30 Thread Wayne Davison
On Tue, 30 Jul 2002, Martin Pool wrote: The --password-file option only applies to rsync daemon connections, not ssh. Perhaps we should make rsync complain about such options that don't make sense (another example being trying to use -e with a :: hostspec)? ..wayne.. -- To unsubscribe

Re: Useless option combos (was Re: --password-file switch)

2002-07-30 Thread Martin Pool
On 30 Jul 2002, Wayne Davison [EMAIL PROTECTED] wrote: On Tue, 30 Jul 2002, Martin Pool wrote: The --password-file option only applies to rsync daemon connections, not ssh. Perhaps we should make rsync complain about such options that don't make sense (another example being trying to use

--password-file switch

2002-07-29 Thread Jochen Kächelin
How can I use the --password-file switch with rsync in order not to be promted for the users password so I can run rsync in a cronjob? rsync -uavrpog -e ssh /www [EMAIL PROTECTED]:/DESTINATION/`date +%A` --password-file=/quellen/RSYNC_PASSWD does not work! I always get a prompt to enter users

Re: --password-file switch

2002-07-29 Thread Martin Pool
On 30 Jul 2002, Jochen K?chelin [EMAIL PROTECTED] wrote: How can I use the --password-file switch with rsync in order not to be promted for the users password so I can run rsync in a cronjob? rsync -uavrpog -e ssh /www [EMAIL PROTECTED]:/DESTINATION/`date +%A` --password-file=/quellen

Using rsync to sync up password file

2002-05-10 Thread Bove, Lui
Title: Using rsync to sync up password file Is it possible to use rsync to synchronize the /etc/passwd, /etc/shadow, /etc/shadow- files under linux? Lui Bove AIM Funds Management Inc. 5140 Yonge St. Toronto, Ont. M2N 6X7 Tel: 416-228-3664 Fax: 416-590-7742 Email: [EMAIL PROTECTED]

Re: Using rsync to sync up password file

2002-05-10 Thread Michael Zimmermann
At Friday 10 May 2002 14:15 Bove, Lui wrote: Is it possible to use rsync to synchronize the /etc/passwd, /etc/shadow, /etc/shadow- files under linux? If you dare to, why not? .o) -- Michael Zimmermann (Vegaa Safety and Security for Internet Services) [EMAIL PROTECTED] phone +49 89 6283 7632

Send Password with RSYNC_PASSWORD ore --password-file

2002-05-04 Thread Manfred Gnaedig
:/home/www/web6 --password-file=host1.pwd the Server is asking me too fore Passwort. How i can bring the Passwort to the Server automaticly? What i have tu use? What can i do? Ore is it better to use RSYNC_PASSWORD ? But how can i use this? Thank you verry mutch fore everything. Best Wishes from

Send Password with RSYNC_PASSWORD ore --password-file

2002-05-04 Thread L. Cranswick
ssh --stats /home/www/web6 217.172.xxx.xxx:/home/www/web6 --password-file=host1.pwd the Server is asking me too fore Passwort. How i can bring the Passwort to the Server automaticly? What i have tu use? What can i do? Ore is it better to use RSYNC_PASSWORD ? But how can i use this? Thank

Re: Send Password with RSYNC_PASSWORD ore --password-file

2002-05-04 Thread Manfred Gnaedig
Hallo, thank you verry mutch. The page at the following address gives some examples of this: http://www.ccp14.ac.uk/ccp14admin/rsync/index.html#client I think this is what you are after. Mainly using the (csh example) the following in the script file you are using: setenv

Re: Send Password with RSYNC_PASSWORD ore --password-file

2002-05-04 Thread Wayne Davison
On Sat, 4 May 2002, Manfred Gnaedig wrote: If i use this rsync -varpog -e ssh --stats /home/www/web6 217.172.xxx.xxx:/home/www/web6 --password-file=host1.pwd the Server is asking me too fore Passwort. Ssh is asking you for the password. However, the --password-file option (as well

Re: Send Password with RSYNC_PASSWORD ore --password-file

2002-05-04 Thread Manfred Gnaedig
/web10 : No such file or directory (1) unexpected EOF in read_timeout bigspace4you:~ # I know i am not an expert fore this but i hope somebody can help me. Greatings Manfred Gnädig Ssh is asking you for the password. However, the --password-file option (as well as the RSYNC_PASSWORD environment

Re: Send Password with RSYNC_PASSWORD ore --password-file

2002-05-04 Thread Wayne Davison
On Sat, 4 May 2002, Manfred Gnaedig wrote: mkdir 217.172.xxx.xxx/home/www/web10 : No such file or directory (1) You left out the ::. Also, the syntax for server mode is slightly different -- you need to refer to a module name on the server. So, if you have an rsync daemon configured and

Re: password file problem.

2001-11-27 Thread Matt Anderson
seem to get the --password-file= option to work correctly. I'm using ssh as the transport. I've got the file 0600 and only the password with no carriage return. Can someone provide an example of use. Here is my try: rsync -rtvvuz -e ssh --password-file=file /home/matt/* remotecomputer:/home

password file problem.

2001-11-26 Thread Matt Anderson
Hello everyone. I can't seem to get the --password-file= option to work correctly. I'm using ssh as the transport. I've got the file 0600 and only the password with no carriage return. Can someone provide an example of use. Here is my try: rsync -rtvvuz -e ssh --password-file=file /home/matt