--passord-file doesn't work
tim.conway at philips.com
tim.conway at philips.com
Mon May 13 10:01:02 EST 2002
sorry for slow reply. busy.
my point is that you must NOT use the rsyncd.secrets file as the password
file.
the password file is to be a file contining a single line, which is only
the password.
rsync won't parse the secrets file to determine what password goes with
what user. It expects to be told the password, either interactively,
through the password-file, or via the $RSYNC_PASSWORD environment
variable.
Tim Conway
tim.conway at philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
Francois Chenais <francois at chenais.net>
Sent by: rsync-admin at lists.samba.org
05/08/2002 09:00 AM
To: Tim Conway/LMT/SC/PHILIPS at AMEC
cc: rsync at lists.samba.org
rsync-admin at lists.samba.org
Subject: Re: --passord-file doesn't work
Classification:
On Wed, 8 May 2002 08:45:06 -0600
tim.conway at philips.com wrote:
> --password-file= works just fine. You're using the files designated by
> "secrets file" option in rsyncd.conf.
>
That's what I have written on the bottom of my previous mails
tamtam:/etc# rsync --password-file=/etc/rsyncd.secrets backupcvs at cvs::cvs/
@ERROR: auth failed on module cvs
rsync error: partial transfer (code 23) at io.c(143)
.
All seems OK
tamtam:/etc# ls -ltr /etc/rsyncd.secrets
-rw------- 1 root root 23 May 7 18:12
/etc/rsyncd.secrets
tamtam:/etc# id
uid=0(root) gid=0(root) groups=0(root)
François
PS for tim: [CYGWIN rsync] I'll do the test next week because of hollyday
:-)
8 May : 2nd World War victory
9 May : Ascension
10 May : Go and work for just a day ? no :-)
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list