Dennis Chelukanov writes: > I running rsync in daemon mode (rsync --daemon) > Everything seems to work well until I try to protect item with > password. > > here is my /etc/rsyncd.conf : > > use chroot = yes > max connections = 10 > syslog facility = local5 > > [ftp] > path = /var/ftp > comment = ftp > secrets file = /etc/rsyncd.secrets > auth users = gate1 > > here is my /etc/rsyncd.secrets > > gate1:abcdefg > > Here is the result of execution : > > /etc > rsync rsync://[EMAIL PROTECTED]/ftp/ > Password: > @ERROR: auth failed on module ftp > rsync: connection unexpectedly closed (87 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(165) > /etc > > > What could it be ???
Either the permissions on /etc/rsyncd.secrets are too generous or you are missing a newline at the end of /etc/rsyncd.secrets. Craig -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html