Subject: Re: yppasswd fix (please review)
To: David Brownlee <>
From: Hubert Feyrer <>
List: tech-userlevel
Date: 12/10/1999 20:19:44
On Fri, 10 Dec 1999, David Brownlee wrote:
> 	Just a thought - does this still work if you run an insecure yp
> 	(because of non NetBSD machines), and particularly against a non
> 	NetBSD yp server...

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?

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?

 - Hubert

NetBSD - Better for your uptime than Viagra