Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Exporting /home - synchronize password?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mvip
n00b
n00b


Joined: 28 Jan 2005
Posts: 56
Location: Silicon Valley

PostPosted: Sat Oct 29, 2005 12:46 am    Post subject: Exporting /home - synchronize password? Reply with quote

Hi,

Just ran into a bit of problem on my servers at home a bit ago.
After setting up another server, I realized that I'd benefit a lot of having the home-dir on one server, and exporting them from there. I had no problem exporting everything with NFS and mounting it properly. However, when I stated to add all the users on my second machine, I realized that the id-numbers in the /etc/passwd file differs, hence, the permissions of the directories gets messed up.

I realize that one way to solve this is to set up a OpenLDAP server and synchronize the passwords through there, but it seems to be a bit of work, and IMHO a bit overkill.

Anyone have any suggestions?

There got to be several ppl who use this sort of setup.


Regards,
mvip
Back to top
View user's profile Send private message
ectospasm
l33t
l33t


Joined: 19 Feb 2003
Posts: 711
Location: Mobile, AL, USA

PostPosted: Sat Oct 29, 2005 1:01 am    Post subject: Reply with quote

If the user lists aren't that big, you could unify them by hand, and set up NIS. Here's a good (even if rather old) HOWTO on setting up NIS/NIS+:

http://tldp.org/HOWTO/NIS-HOWTO/index.html

This guide may also help you too, but it's Red Hat/Fedora Core specific:

http://www.linuxhomenetworking.com/linux-adv/nis.htm

I set up an NIS lab at work, and it was fairly simple. If setting up NIS is no easier to set up than LDAP, I'm pissed, because I should have gone for that solution. It looked too complicated, and like you said, overkill for my needs.
_________________
Join the adopt an unanswered post initiative today
Join the EFF!
Join the Drug Policy Alliance!
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Sat Oct 29, 2005 1:44 am    Post subject: Reply with quote

just use 'usermod' and 'find' to fix the UID's (and any stray file ownership) on one of the machines.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum