RE: rsync and users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Todd Cary wrote:
> Thanks to the encouragement of some people on this list, I am using
> rsync to synchronize two servers: one is a backup to the other in case
> the primary one fails.  By hand, I inserted the names of the users on
> the primary server into the backup server.  So, now all works well.
> 
> /usr/bin/rsync -av -e ssh /home/ 192.168.0.22:/home/
> 
> My question is what would happen if the users were not on the backup

They just get set to the UID/GID of the source server.

> server? 
> 
> Is there anyway to have the users automatically inserted into passwd
> and group?

I'd investigate NIS to fix this issue.

Thanks!

Mark Schoonover 
IS Manager 
American Geotechnical - California, Nevada and Arizona 
V-> 858.450.4040 F-> 714.685.3909 C-> 858.472.3816


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux