linux安装 rsync 客户端和相关权限认证

[root@rsync-client-inotify /]# yum install rsync -y

[root@rsync-client-inotify /]# echo "redhat">/etc/rsync.password

[root@rsync-client-inotify /]# chmod 600 /etc/rsync.password

[root@rsync-client-inotify /]# cat /etc/rsync.password

Redhat

[root@rsync-client-inotify /]# ll /etc/rsync.password

-rw-------. 1 root root 20 Jun 4 04:27 /etc/rsync.password

原文地址:https://www.cnblogs.com/fanweisheng/p/11327153.html