From owner-freebsd-questions@FreeBSD.ORG Mon Apr 28 08:48:16 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 6AE0B37B405 for ; Mon, 28 Apr 2003 08:48:14 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D349C43FA3 for ; Mon, 28 Apr 2003 08:48:13 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h3SFm1cI098846; Mon, 28 Apr 2003 10:48:01 -0500 (CDT) (envelope-from dan) Date: Mon, 28 Apr 2003 10:48:01 -0500 From: Dan Nelson To: ^Angelo Rodrigues Message-ID: <20030428154800.GL22259@dan.emsphone.com> References: <200304281535.38756.amr@fccn.pt> <20030428101454.C51776@Gina.esfm.ipn.mx> <200304281636.31048.amr@fccn.pt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304281636.31048.amr@fccn.pt> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 15:48:16 -0000 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. -- Dan Nelson dnelson@allantgroup.com