Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   rsyncd.conf    ( 5 )

файл конфигурации для rsync в режиме демона (configuration file for rsync in daemon mode)

Примеры (Examples)

A simple rsyncd.conf file that allow anonymous rsync to a ftp
       area at /home/ftp would be:

[ftp] path = /home/ftp comment = ftp export area

A more sophisticated example would be:

uid = nobody gid = nobody use chroot = yes max connections = 4 syslog facility = local5 pid file = /var/run/rsyncd.pid

[ftp] path = /var/ftp/./pub comment = whole ftp area (approx 6.1 GB)

[sambaftp] path = /var/ftp/./pub/samba comment = Samba ftp area (approx 300 MB)

[rsyncftp] path = /var/ftp/./pub/rsync comment = rsync ftp area (approx 6 MB)

[sambawww] path = /public_html/samba comment = Samba WWW pages (approx 240 MB)

[cvs] path = /data/cvs comment = CVS repository (requires authentication) auth users = tridge, susan secrets file = /etc/rsyncd.secrets

The /etc/rsyncd.secrets file would look something like this:

tridge:mypass susan:herpass