Password Authentication
Matthew Simpson
msimpson at market-research.com
Wed May 8 16:41:01 EST 2002
Hi Tim,
I have setup rsync as you suggestion for password authentication but
I get auth failed on module, see below.
$ rsync -vrtuz --password-file=~.rsyncpw --delete
projects at host.dyndns.org::projects /home/projects/
password file must not be other-accessible
continuing without password file
Password:
@ERROR: auth failed on module projects
/home/simpson/.rsyncpw
-rw-rw-r-- 1 simpson simpson 8 Apr 29 22:51 .rsyncpw
On the server side:
/etc/rsyncd.conf
uid = matt
gid = matt
[projects]
auth users = projects
secrets file = /etc/rsyncd.secrets
path=/home/projects
read only=false
/etc/rsyncd.secrets
projects:abcd
-rw-r--r-- 1 root root 29 May 8 16:27 /etc/rsyncd.secrets
Thanks for your help. Any clues?
Matt
>close on the rsyncd.conf: secrets file is module, not global, so you'll
>need to name the secrets file for each user.
>secrets file format is not user at domain:password. It knows nor cares who
>it really is or where it comes from.
>apps:appspassword
>userforprojects:userforprojectspassword
>
>See rsyncd.conf:5 contains a wealth of just such information. In my
>application, I don't use authentication. In response to your question, I
>read the man page and found the answers. It took remarkably little time.
More information about the rsync
mailing list