From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 09:06:43 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BF5337B401 for ; Mon, 28 Apr 2003 09:06:43 -0700 (PDT) Received: from saturno.fccn.pt (saturno.fccn.pt [193.136.7.107]) by mx1.FreeBSD.org (Postfix) with SMTP id 5BBCA43FA3 for ; Mon, 28 Apr 2003 09:06:41 -0700 (PDT) (envelope-from amr@fccn.pt) Received: (qmail 59735 invoked from network); 28 Apr 2003 16:06:40 -0000 Received: from hyperion.fccn.pt (193.136.7.70) by saturno.fccn.pt with SMTP; 28 Apr 2003 16:06:40 -0000 Content-Type: text/plain; charset="iso-8859-1" From: =?iso-8859-1?q?=C2ngelo=20Rodrigues?= Organization: Fccn To: Dan Nelson Date: Mon, 28 Apr 2003 17:06:36 +0000 User-Agent: KMail/1.4.3 References: <200304281535.38756.amr@fccn.pt> <200304281636.31048.amr@fccn.pt> <20030428154800.GL22259@dan.emsphone.com> In-Reply-To: <20030428154800.GL22259@dan.emsphone.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200304281706.37002.amr@fccn.pt> cc: Eduardo Viruena Silva cc: freebsd-questions@freebsd.org Subject: Re: Sincronize /etc/passwd and /etc/yp/passwd.master X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: amr@fccn.pt List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 16:06:43 -0000 On Monday 28 April 2003 15:48, Dan Nelson wrote: > In the last episode (Apr 28), ^Angelo Rodrigues said: > > On Monday 28 April 2003 15:16, Eduardo Viruena Silva wrote: > > > On Mon, 28 Apr 2003, [iso-8859-1] ^Angelo Rodrigues wrote: > > > > I'm trying to find an effective way to sincronize > > > > /etc/passwd.master and /etc/yp/passwd.master (at the same time) > > > > without having to force all local users to run two commands, > > > > passwd and yppasswd. Any ideia? > > > > > > a) > > > a simbolic link: /var/yp/master.passwd -> /etc/master.passwd > > > > > > b) change your /var/yp/Makefile to take /etc/master.passwd > > > instead of /var/yp/master.passwd > > > > Hmmm...but this will force the same home directory between the server > > and the client. > > You want the same password; why wouldn't you want the same homedir and > shell also? All our NIS users have their homedir set to > /net/homedirmachine/home/username. But my server users are distributed betwen /home and /homeapp and this method will force the same thing in the clients. Regards --=20 =C2ngelo Rodrigues - amr@fccn.pt=20 FCCN - Funda=E7=E3o para a Computa=E7=E3o Cient=EDfica Nacional Av. Brasil, 101 1700-066 Lisboa - Portugal Tel: +351 218440100 Fax: +351 218472167 -----------------------------------------------------