-------------------------------------vi /etc/xinetd.d/rsync-------------------------------------------------------------------- service rsync { disable = no socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = ¨Cdaemon log_on_failure += USERID } -------------------------------------rsyncd.conf-------------------------------------------------------------------- # /etc/rsyncd: configuration file for rsync daemon mode # See rsyncd.conf man page for more options. # configuration example: uid = root gid = root use chroot = no max connections = 4 pid file = /var/run/rsyncd.pid log file = /var/log/rsyncd.log exclude = lost+found/ transfer logging = yes timeout = 900 ignore nonreadable = yes dont compress = *.gz *.tgz *.zip *.z *.Z *.rpm *.deb *.bz2 [back] path = /home/oracle/backup comment = test export area ignore errors read only = true #write only = yes list = false auth users = root secrets file = /etc/rsyncd.secrets hosts allow = * -------------------------------------vi /etc/rsyncd.secrets-------------------------------------------------------------------- root:123456676