LinuxQuestions.org
Visit Jeremy's Blog.
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 04-25-2008, 01:58 PM   #1
jedimastermopar
Member
 
Registered: Jun 2004
Distribution: fedora core 1 and core 2
Posts: 178

Rep: Reputation: 30
synchronizing user accounts?


I am just wondering if using rsynch to to replicate two servers user accounts is acceptable given
All accounts are created and maintained as far as passwords go on Server A
Server A will push the following files to Server B
/etc/passwd
/etc/shadow
/etc/group
/etc/gshadow
/home

Is that something that will work? Am I missing something? LDAP is not an option on these servers.
 
Old 04-25-2008, 02:51 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,186

Rep: Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468Reputation: 2468
You can, but I'd certainly put some serious checks in place, before depending on it. One file gets hosed in transmission, and you're not able to log in....
 
Old 04-25-2008, 03:40 PM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Also it becomes a problem if one server has a service that creates or uses a system user/group that gets wiped or isn't necessarily needed on the other server. Unless these stay exactly the same with same functionality, same packages, same services, it shouldn't be a problem except for the concern above.

Perhaps you should look into cfengine or poppy to configure these servers or maintain the users/groups from one location.
 
Old 04-25-2008, 04:11 PM   #4
thejonmoore
LQ Newbie
 
Registered: Jul 2005
Location: Kentucky
Distribution: Debain, Slack, Fedora
Posts: 18

Rep: Reputation: 0
I've seen a few other posts online suggesting to only sync UID's that fall above what's configured for system accounts. You'd end up with the same user accounts on both machines, but independent system account (root, etc).

However, I agree with trickykid... use something like Puppet or CFEngine. If it's just user accounts you want to share, could be better off with using LDAP or NIS?
 
Old 04-25-2008, 04:15 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Quote:
Originally Posted by thejonmoore View Post
However, I agree with trickykid... use something like Puppet or CFEngine. If it's just user accounts you want to share, could be better off with using LDAP or NIS?
Where the hell did I get poppy from, I actually meant puppet.. heh!
 
Old 04-25-2008, 04:59 PM   #6
thejonmoore
LQ Newbie
 
Registered: Jul 2005
Location: Kentucky
Distribution: Debain, Slack, Fedora
Posts: 18

Rep: Reputation: 0
Quote:
Originally Posted by trickykid View Post
Where the hell did I get poppy from, I actually meant puppet.. heh!
I didn't even notice that typo until you corrected it :P
 
  


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
User Accounts ronin16 Linux - Newbie 3 11-15-2007 02:06 AM
LXer: Linux 101: Manage user accounts in a multi-user Linux environment ... LXer Syndicated Linux News 0 06-27-2006 07:03 AM
User accounts captain chaos Slackware 2 03-01-2006 04:24 PM
"Synchronizing" two accounts daihard Linux - Software 1 12-20-2004 03:50 AM
User Accounts petey *BSD 4 09-26-2002 09:28 AM


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

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