LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Sync Multiple Linux Servers Users, groups and passwords (https://www.linuxquestions.org/questions/linux-server-73/sync-multiple-linux-servers-users-groups-and-passwords-624334/)

waddy 02-27-2008 07:54 PM

Sync Multiple Linux Servers Users, groups and passwords
 
I have two redhat servers, each at a remote location. It is an administrative nightmare managing users and accounts on both to try keep them the same.

I have been looking on how to sync the two servers, i.e i create a user at site 1, this auto updates site 2 server with the new user details. So the user can login to either site easily.

i.e Site1 server drops, all users simply login to site two.

I thought of syncing certain files, but i am sure there is a solid stable solution available for linux for this?

No Samba involved, pure unix.

Can anyone help.

Thanks.

Micro420 02-27-2008 08:14 PM

Ldap? Nis?

billymayday 02-27-2008 08:16 PM

How about ldap?

Edit - sorry - sat on my post for a while

waddy 02-27-2008 08:37 PM

Thanks! Thats it exactly. Reading tutorials now.

For some reason i thought ldap was a ms thing. duh...

Micro420 02-27-2008 10:51 PM

Quote:

Originally Posted by waddy (Post 3072114)
Thanks! Thats it exactly. Reading tutorials now.

For some reason i thought ldap was a ms thing. duh...

LDAP is a protocol that can be used by any application or operating system. So yes, Microsoft does use LDAP with their Active Directory technology. Fortunately because of LDAP, Linux computers are able to join Active Directory and take advantage of its directory services.

p_s_shah 02-28-2008 10:56 AM

Best Solution is LDAP Master - Slave.

Next is NIS Master - Slave config.

Least recommended : Sync files using rsync or unison ( Two way sync ) and Cronjob.

dmarkey 02-29-2008 06:28 AM

Well, Best solution would be a combination of Kerberos/LDAP.


All times are GMT -5. The time now is 02:34 AM.