Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
keeping passwd file in sync across master and slave node
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
srd
n00b
n00b


Joined: 13 Apr 2010
Posts: 38

PostPosted: Tue Jun 18, 2013 8:48 pm    Post subject: keeping passwd file in sync across master and slave node Reply with quote

I have several user accounts located on a master node and their home directories are exported via NFS. Then theres the diskless nodes which boot from a file system also located on the master node, but /etc isn't exported. Rather, the diskless nodes have their own complete file system located under /diskless/gentoo_x86-64.

The problem. If a user changes the passwd on the master node (i.e. /etc/passwd), then I copy that file (and /etc/group) over to the diskless nodes file system located in /diskless/gentoo_x86-64/etc. This way, logging into the master node has the same passwd as the diskless nodes, I just have to be careful to keep accounts in sync across master and diskless nodes.

The problem is that in order for the diskless nodes to see the changes in /diskless/gentoo_x86-64/etc/passwd (or group), I have to restart the diskless nodes.

Is there another way to get the diskless nodes to reread the /etc/passwd file w/o having to reboot?
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