Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Apr 1999 17:26:15 -0800
From:      Scott Michel <scottm@cs.ucla.edu>
To:        current@freebsd.org
Subject:   YP/NIS and passwd weirdness
Message-ID:  <199904030126.RAA62422@mordred.cs.ucla.edu>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904030126.RAA62422>