Subject: Re: nis master config
To: <>
From: Wenchi Liao <wliao@midway.uchicago.edu>
List: netbsd-help
Date: 12/01/1999 16:00:14
Manuel Bouyer wrote:
>On Mon, Nov 29, 1999 at 05:22:06PM -0600, Tim D. Bandy wrote:
>> Is there any docs on setting up an NIS master under NetBSD?
>> Is there any way (other than hacking the source) to get rpc.yppasswdd
>> to use a different master.passwd file?  I'm in a mixed OS environment,
>> and would rather not broadcast my local accounts on the nis master via
>> the nis passwd maps.
>
>Unfortunably this is not in rpc.yppasswdd, but in libc that the limitation
>is. Chnaging the path for yppasswdd will also change it for passwd and other
>utilities.

Hm...I've been taking a crack at this, and my plan was to change
pwd_mkdb(8) to accept a read-from-file and write-to-file switch,
change pw_mkdb(3) to reflect the change in pwd_mkdb, and then
change rpc.yppasswdd(8) to pass the necessary options to
pw_mkdb.

Why wouldn't this work?

WL