Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2015 18:38:48 +0100
From:      Marko Zec <zec@fer.hr>
To:        Aryeh Friedman <aryeh.friedman@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-hackers@freebsd.org>
Subject:   Re: multiple machines with some shared users and some unique users
Message-ID:  <20150211183848.145794ee@x23>
In-Reply-To: <CAGBxaX=%2BHAcSh6AuJffhCNuRGm4Kn6j5QanP3tQFJHNVn4j0ZA@mail.gmail.com>
References:  <CAGBxaX=%2BHAcSh6AuJffhCNuRGm4Kn6j5QanP3tQFJHNVn4j0ZA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Feb 2015 11:17:23 -0500
Aryeh Friedman <aryeh.friedman@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
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150211183848.145794ee>