2000-09-05-15:13:33 Cynthia Spangler:
> I know I have read about a file that you can make to allow various users
> to use rsync. Also various hosts. I've spent the past two hours trying
> to find where I read that!
Don't know about one specific file. It depends first and foremost on
what sort of rsync access you're using. If you're transporting rsync
over rsh or ssh, the question comes down to simply restricting the
access of the rsh or ssh, respectively. If you're using rsync's
server mode, with the rsync-specific protocol, rsyncd.conf(5)
describes the options rsync's daemon mode provides for controlling
access.
I only use ssh access, and only with public keys, so I can provide
restricted access by using the command= field in the authorized_keys
file, and fine-tuning the restrictions with a wrapper that checks
the args in the SSH_ORIGINAL_COMMAND envar.
-Bennett
PGP signature