linux certifications and permissions configuration

[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

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11326826.html