Re: Trouble with password (daemon mode)
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
Re: Trouble with password (daemon mode) Thanks, trouble solved.
Hello Dennis, Tuesday, October 21, 2003, 1:32:25 AM, you wrote: DC> I running rsync in daemon mode (rsync --daemon) DC> Everything seems to work well until I try to protect item with DC> password. Thanks, the problem was in rights on file rsyncd.secrets - it was world readable while option strict was set to true by default. -- Best regards, Dennismailto:[EMAIL PROTECTED] -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html