Setting up an RSYNC daemon

in production with netbsd 8/9

Install

pkg_add -v rsync

Setup

ln -s /usr/pkg/etc/rsync/rsyncd.conf
vi /usr/pkg/etc/rsync/rsyncd.conf

uid = ftp 

[NetBSD]
    path = /tftpboot/pub/NetBSD 
    comment = NetBSD ftp area
    read only = yes
    transfer logging = no

Ready to go

cp /usr/pkg/share/examples/rc.d/rsyncd /etc/rc.d/
echo rsyncd=yes >> /etc/rc.conf
/etc/rc.d/rsyncd start

HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5 | CONTACT
Copyright © 2024 Pierre-Philipp Braun