From owner-freebsd-current Fri Apr 2 17:26:36 1999 Delivered-To: freebsd-current@freebsd.org Received: from mordred.cs.ucla.edu (Mordred.CS.UCLA.EDU [131.179.48.34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD0014BE6 for ; Fri, 2 Apr 1999 17:26:35 -0800 (PST) (envelope-from scottm@mordred.cs.ucla.edu) Received: from mordred.cs.ucla.edu (localhost [127.0.0.1]) by mordred.cs.ucla.edu (8.9.3/8.9.3) with ESMTP id RAA62422 for ; Fri, 2 Apr 1999 17:26:16 -0800 (PST) (envelope-from scottm@mordred.cs.ucla.edu) Message-Id: <199904030126.RAA62422@mordred.cs.ucla.edu> X-Mailer: exmh version 2.0.2 2/24/98 To: current@freebsd.org Subject: YP/NIS and passwd weirdness Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 02 Apr 1999 17:26:15 -0800 From: Scott Michel Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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