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
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
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
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
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
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
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
.
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
---
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
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
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
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
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
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
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
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
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
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
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
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
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
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
https://bugzilla.samba.org/show_bug.cgi?id=1508
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=1508
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Additional
||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
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
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
. 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
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
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
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
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
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
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
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
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]
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
:/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
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
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
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
/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
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
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
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
45 matches
Mail list logo