Subject: Re: rpc.yppasswd and passwd not in /etc
To: Nicholas Esborn <nick@tus.netdot.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 10/01/1999 11:41:13
On Fri, Oct 01, 1999 at 12:25:56AM -0700, Nicholas Esborn wrote:
> I keep my NIS source files in an alternate location on my NIS server (not
> in /etc).  This works well for everything except rpc.yppasswdd, which
> seems to assume that the rest of the YP subsystem is getting the pertinent
> flat files from /etc.  In my case, this prevents my users from changing
> their passwords... rpc.yppasswd doesn't accept the "old" password, because
> there is no matching entry in /etc/master.passwd.
> 
> Basically all I care about is disallowing certain users from logging in.
> Previously (in FreeBSD) I did that by putting the flat maps in a directory
> under /var/yp and modifying the Makefiles, and then not binding the
> machine to its own ypserv.

Unfortunably I don't think there's a way of doing this in NetBSD (it checks
the old passwd in /etc/master.passwd, but will put the new one at the same
place too). If you want to fix this feel free ! (But it's not trivial,
some libc interface need to be changed too :(

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--