配置 [root@zjqs-05 scripts]# vim /etc/xinetd.d/rsync
# default: off # description: The rsync server is a good addition to an ftp server, as it \ # allows crc checksumming etc. service rsync { disable = no flags = IPv6 socket_type = stream wait = no user = root server = /usr/bin/rsync server_args = --daemon log_on_failure += USERID } 将disable 由yes 改成no
创建密码文件 vim /etc/passwd.txt 内容如下 [root@zjqs-05 scripts]# cat /etc/passwd.txt Abc23332c2014 这里的密码跟server端一致