From owner-freebsd-hackers@FreeBSD.ORG Wed Feb 11 17:40:10 2015 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1ABC5C94 for ; Wed, 11 Feb 2015 17:40:10 +0000 (UTC) Received: from mail.fer.hr (mail.fer.hr [161.53.72.233]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.fer.hr", Issuer "TERENA SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FE2AFCC for ; Wed, 11 Feb 2015 17:40:09 +0000 (UTC) Received: from x23 (31.147.112.168) by MAIL.fer.hr (161.53.72.233) with Microsoft SMTP Server (TLS) id 14.2.342.3; Wed, 11 Feb 2015 18:38:52 +0100 Date: Wed, 11 Feb 2015 18:38:48 +0100 From: Marko Zec To: Aryeh Friedman Subject: Re: multiple machines with some shared users and some unique users Message-ID: <20150211183848.145794ee@x23> In-Reply-To: References: X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [31.147.112.168] Cc: FreeBSD Mailing List X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 17:40:10 -0000 On Wed, 11 Feb 2015 11:17:23 -0500 Aryeh Friedman 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 > >