From owner-freebsd-current Fri Apr 2 17:29:53 1999 Delivered-To: freebsd-current@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 32445152B7 for ; Fri, 2 Apr 1999 17:29:45 -0800 (PST) (envelope-from mjacob@feral.com) Received: from localhost (mjacob@localhost) by feral.com (8.8.7/8.8.7) with ESMTP id RAA14373; Fri, 2 Apr 1999 17:29:12 -0800 Date: Fri, 2 Apr 1999 17:29:12 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@feral-gw Reply-To: mjacob@feral.com To: Scott Michel Cc: current@FreeBSD.ORG Subject: Re: YP/NIS and passwd weirdness In-Reply-To: <199904030126.RAA62422@mordred.cs.ucla.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Umm- it's never supposed to have been with a '*' in it for this YP implementation, I believe. Fixing the security check would be a good thing. Going to pam/nsswitch.conf would be even better. On Fri, 2 Apr 1999, Scott Michel wrote: > I didn't see anything along these lines the the archive, so > here goes... (something different to the other threads running > these days.) > > In 3.3.1 and 4.0-current, if one puts the following in /etc/passwd > to enable NIS logins: > > +:*::::: > > then logins (console or ssh) of ordinary users don't work. After > gdb-ing ssh, I found that getpwnam() consistently returns "*" as > the user's password. > > Removing the "*" makes things work again, but the security check > wails about a user w/o a password. > > Question: Was this intentional behavior or should I submit a pr with > a patch? > > > -scooter > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message