CHEUNG Chi Wai, Chris [EMAIL PROTECTED] 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 > [EMAIL PROTECTED] rsync [EMAIL PROTECTED]::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 > [XXXXX] > path =/Nukephp > comment = XXXXX.com > 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. HTH. -- Hardy Merrill Red Hat, Inc. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html