linux相关认证和权限配置

[root@rsync-server-1 /]# echo 'rsync_backup:redhat' > /etc/rsync.password

 

[root@rsync-server-1 /]# chmod 600 /etc/rsync.password                                                                    

 

[root@rsync-server-1 /]# cat /etc/rsync.password rsync_backup:redhat

[root@rsync-server-1 /]# ll /etc/rsync.password

 

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

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