LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-27-2008, 07:54 PM   #1
waddy
LQ Newbie
 
Registered: Jun 2007
Posts: 9

Rep: Reputation: 0
Arrow 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.
 
Old 02-27-2008, 08:14 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Ldap? Nis?
 
Old 02-27-2008, 08:16 PM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
How about ldap?

Edit - sorry - sat on my post for a while
 
Old 02-27-2008, 08:37 PM   #4
waddy
LQ Newbie
 
Registered: Jun 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Thumbs up

Thanks! Thats it exactly. Reading tutorials now.

For some reason i thought ldap was a ms thing. duh...
 
Old 02-27-2008, 10:51 PM   #5
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally Posted by waddy View Post
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.
 
Old 02-28-2008, 10:56 AM   #6
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 228
Blog Entries: 1

Rep: Reputation: 34
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.
 
Old 02-29-2008, 06:28 AM   #7
dmarkey
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
Well, Best solution would be a combination of Kerberos/LDAP.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing root passwords on multiple servers user_lnx Red Hat 1 07-27-2006 11:01 AM
Sync MySQL passwords with local account passwords? turbine216 Linux - Software 2 02-18-2005 03:15 AM
Is there a way to sync Samba passwords with linux user passwords MarleyGPN Linux - Networking 2 09-09-2003 10:59 AM
Synchronizing Users Across Multiple Servers ghight Linux - Networking 4 08-22-2003 09:35 AM


All times are GMT -5. The time now is 07:39 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration