conf/55964: sshd: HostBasedAuthentication does not seem to work
with NIS
James F. Hranicky
jfh at cise.ufl.edu
Mon Aug 25 11:10:24 PDT 2003
>Number: 55964
>Category: conf
>Synopsis: sshd: HostBasedAuthentication does not seem to work with NIS
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 25 11:10:18 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: James F. Hranicky
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
University of Florida CISE Department
>Environment:
System: FreeBSD myrtle 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Mon Aug 11 17:15:47 EDT 2003 root at myrtle:/private/freebsd-src/obj/private/freebsd-src/src/sys/CISEKERN i386
>Description:
When using HostBasedAuthentication with sshd, NIS does not appear to
be consulted. When /etc/netgroup is non-existent, empty, or containing
a '+', sshd prompts for a password. When /etc/netgroup contains valid
data (i.e., "ypcat -k netgroup > /etc/netgroup"), I am logged in without
a password.
I have the trusted netgroup in /etc/hosts.equiv.
However, I have determined that innetgr and {set,end,net}grent do appear
to consult NIS when called from a simple C program.
I have the following in /etc/nsswitch.conf:
passwd: nis files
group: nis files
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list