xinted combined with rsync without password
1. Installation
Yum install-y xinetd rsync
2. Configuration
Cat/etc/xinetd.d/rsync
# default:off# description:the rsync server is a good addition to an FTP server, as it #allows CRC Checksumming Etc.serv Ice rsync{disable= noflags= ipv6socket_type = streamwait = Nouser = Rootserver =/usr/b In/rsyncserver_args =--daemonlog_on_failure + = USERID}
Cat/etc/rsyncd.conf
UID = Rootgit = RootUse chroot = Nomax connections = 4strict modes = Yesport = 873pid File =/var/run/rsyncd.pidlock file =/var/run/rsync.locklog File =/var/log/rsyncd.log[backup]path =/srvcomment = This was test#host allow = Read Only = no
3. Start
/etc/init.d/xinetd start
4. Use
Rsync-rrav--delete/data/web/ip::backup
This article from the "Shallow faint" blog, please be sure to keep this source http://cuixiang.blog.51cto.com/8204722/1826445
xinted combined with rsync without password