# The general settings are not scoped with a module header # and should be located at the top of your file. # # The log file, pid file, and lock file directives indicate # where to write their respective files log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsyncd.lock # The uid and gid are safest to default to the "nobody" user. # These values may need to be overridden depending on the permissions # of the files to be rsynced. uid = nobody gid = nobody # Unless a module overrides this, it will prevent any accidental # rsyncs from destroying any files on this server. read only = true # This prevents the modules from being listed when the rsync daemon is queried. # A rsync daemon can be queried for its (publicly) available modules via: # rsync :: # Specific modules can override this behavior if necessary, but it is generally # a safer default to keep them unlisted unless there is an explicit directive. list = false # Restrict the permitted clients to the defined hosts. There is a lot of flexibility # with this directive, including the use of hostname, ranges, ethernet addressed, # wildcards. There is also a "hosts deny" directive that can be utilized to fine-tune # your permission scheme. See the man page for rsyncd.conf for full details. hosts allow = 192.168.1.8 # The secrets file. This is used to store name/password pairs as a loose form # of authentication. The usernames do NOT have to be actual users on the system. secrets file = /etc/rsyncd.scrt # Begin the module definition of "core" # This is used to backup some critical files that may be "overlooked" by Time Machine [core] # The effective root path for the module path = / # Many of these files require full root permissions, so override the defaults uid = root gid = wheel # This file defines the patterns used to control access to various parts of the system # It can define both includes and excludes. See the "FILTER RULES" section of the rsync # man page for full details. include from = /etc/rsyncd.core # Only permit the user "rsyncd" to access this module. # The username/password is defined in the rsyncd.scrt file auth users = rsyncd # Descriptive text returned to client when the module is queried comment = Core files (/etc, /var/named, /var/spool, /var/imap, /usr/local)