authentication error

Hardy Merrill hmerrill at
Fri Aug 22 07:21:59 EST 2003

CHEUNG Chi Wai, Chris [chris.cheung at] wrote:
> I have setup a Rysnc server in Mandrake 9.1 
> When I add a auth user into my Rsync.conf and rsync.secrets,
> it do not work, everytime it shows
> [root at html]# rsync chris at mandrake82::XXXXX/.html/. / 
> Password: 
> @ERROR: auth failed on module XXXXX
> rsync: connection unexpectedly closed (89 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(165)
> This is my rsync's config file
> path =/Nukephp
> comment =
> use chroot
> auth users = chris,
> secrets file = /etc/rsyncd.secrets
> This is my secret.files
> chris:chris

Read 'man rsyncd.conf' - specifically the uid and gid
sections.  My *wild* guess is that since you haven't
specified a uid/gid, that it is using user "nobody",
and user "nobody" probably doesn't have read access
to your secrets file.  As I said, it's just a guess.


Hardy Merrill
Red Hat, Inc.

More information about the rsync mailing list