access denied from rsync server

Martin Jeppesen d2xdt2 at
Thu Apr 6 23:17:42 GMT 2006


Can someone help me out, if I want to connect to a rsync server, and
download / from it?

It is started in /etc/rc.local by
su -c "rsync --daemon"

and /etc/rsyncd.conf contains:

log file = /var/log/rsyncd.log
pid file = /var/run/
lock file = /var/run/rsync.lock

   path = /
   comment = export
   uid = root
   gid = root
   read only = yes
   hosts allow =
   list = yes
   auth users = rsroot
   secrets file = /etc/rsyncd.secrets

and /etc/rsyncd.secrets contains

On the computer where the data should be downloaded to do I use:
rsync -avWHRx /media/backup/latest-tlf/

After entering the rroot password I get this error:
@ERROR: auth failed on module tlf
rsync error: error starting client-server protocol (code 5) at
main.c(1296) [receiver]

If I remove the "auth users" and "secrets file" it works.

Can anyone help me out? =)


More information about the rsync mailing list