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

 

posted @ 2019-08-09 14:51  樊伟胜  阅读(369)  评论(0编辑  收藏  举报