Skip to content


Installing and configuring rsyncd on fedora core 6

yum -y install xinetd rsync

Create a file: “/etc/rsyncd.conf“, with the contents:

  max connections = 2
  log file = /var/log/rsync.log
  timeout = 300

  [share]
  	comment = Random things available for download
  	path = /share
  	read only = yes
  	list = yes
  	uid = nobody
  	gid = nobody
  	auth users = pub
  	secrets file = /etc/rsyncd.secrets

Create a file: “/etc/rsyncd.secrets“, with the contents:

  username:password

The file MUST be owned by only root, and readable by only root (chmod 600 /etc/rsyncd.secrets).

edit /etc/xinetd.d/rsync

It should look like this.

  service rsync
  {
  	disable         = no
  	socket_type     = stream
  	wait            = no
  	user            = root
  	server          = /usr/bin/rsync
  	server_args     = --daemon
  	log_on_failure  += USERID
  }

Make sure you have rsync 873/tcp in your /etc/services file

chkconfig xinetd on

service xinetd restart

you should be all set.

Posted in Linux.


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

You must be logged in to post a comment.