Problems using rsyncd.conf
Niko Suave
niko at alum.mit.edu
Tue Jan 29 07:03:12 EST 2002
I am having a lot of troubles setting up an rsync daemon that works
properly. I've inspected the Faq-o-matic and as much of the past
archives as I can stand, but I can't seem to get any of the solutions
suggested there to work.
I'm having two problems.
First, I can't get password authentication to work. I have ensured
that the password file is only readable by root, and that there is a
newline following every line (note that this is a UNIX newline and not
a DOS newline. One of the FAQ entries suggested that a CRLF combo was
required, but I assume that can't be right).
The second problem is that I am attempting to use "refuse options" to
ban anyone from executing rsync --delete, but that doesn't seem to
work (the --delete command is still permitted). Is this not the sort
of option that this is intended for?
thank you all for any assistance, and I apologize that these questions
seem so plebian.
I have included my /etc/rsyncd.conf and /etc/rsyncd.secrets files for
reference.
niko
--
# RSync Configuration File
use chroot = yes
max connections = 2
[music0]
uid=www-data
gid=www-data
path=/home/virtual/www/mp4/music0
comment=mp3 files on main disk
read only=false
auth users=mp4
secrets files=/etc/rsyncd.secrets.out
refuse options=delete delete-excluded delete-after force
[test]
uid=niko
gid=niko
path=/home/niko/rtest
comment=test
read only=false
refuse options=delete delete-excluded delete-after force
---
mp4:hello
---
More information about the rsync
mailing list