一.同步时不输入密码的两种方式1.同步时不输入密码[第一种方式,sersync][root@nfs~]#echo"1">/etc/rsync.password[root@nfs~]#chmod600/etc/rsync.passwordrsync-avzrsync_backup@172.16.1.41::backup/opt--password-file=/etc/rsy
第一步:修改配置文件[root@host253~]#vim/etc/rsyncd.confuid=nobodygid=nobodyusechroot=yesmaxconnections=4pidfile=/var/run/rsyncd.pidexclude=lost+found/transferlogging=yestimeout=900ignorenonreadable=yesdontcompr
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号