Subject: Re: yppasswd fix (please review)
To: None <>
From: David Brownlee <>
List: tech-userlevel
Date: 12/10/1999 19:34:49
On Fri, 10 Dec 1999, Hubert Feyrer wrote:

> Good point, I didn't hink of that. I can test with a Solaris server which
> uses the plain old passwd.byname w/ encrypted passwords. Is this the same
> that NetBSD does in "insecure" yp? I have no idea how to set up a
> "insecure" NIS server, what would I have to do to get that, assuming I
> have a "normal" NIS setup?
	Uncomment 'INSECURE?=     yes' in your /var/yp/... Makefile :)

> It we want to do this without a command line switch, it seems we need some
> fallback. I wonder if we should
> a) see if the master.passwd-lookup succeeds, and fallback to the
>    passwd-lookup if not available 
> b) do the passwd-lookup, and switch to master.passwd, if the encrpyted
>    password is a "*".
> I don't know what's better here, any suggestions?

	I prefer a), except if it might cause spurious syslog output on
	some systems.

	Hmm - a command line switch to override one way or the other
	is probably also a good idea...