multiple machines with some shared users and some unique users

Marko Zec zec at fer.hr
Wed Feb 11 17:40:10 UTC 2015


On Wed, 11 Feb 2015 11:17:23 -0500
Aryeh Friedman <aryeh.friedman at gmail.com> wrote:

> I have a set of machines that has two types of user accounts:
> 
> 1) Cluster wide
> 2) The local machine only
> 
> The cluster wide accounts have a single home dir but the local ones
> have one home dir per machine.
> 
> How do I set this up?
> 
> I know YP can do item 1 but how do I do the second if I go that route?

# fgrep passwd /etc/nsswitch.conf 
passwd: files nis
passwd_compat: nis

Let local user's home dirs reside on a local volume, say /home1, and let
NIS ones use a different (NFS?) mount, say /home2 - should be as simple
as that.

> 
> --
> Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
> 
> 



More information about the freebsd-hackers mailing list