Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Apr 2003 10:48:01 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        ^Angelo Rodrigues <amr@fccn.pt>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Sincronize /etc/passwd and /etc/yp/passwd.master
Message-ID:  <20030428154800.GL22259@dan.emsphone.com>
In-Reply-To: <200304281636.31048.amr@fccn.pt>
References:  <200304281535.38756.amr@fccn.pt> <20030428101454.C51776@Gina.esfm.ipn.mx> <200304281636.31048.amr@fccn.pt>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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