From owner-freebsd-bugs Tue Jun 13 15:30:02 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA21305 for bugs-outgoing; Tue, 13 Jun 1995 15:30:02 -0700 Received: (from gnats@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id PAA21296 ; Tue, 13 Jun 1995 15:30:01 -0700 Date: Tue, 13 Jun 1995 15:30:01 -0700 Message-Id: <199506132230.PAA21296@freefall.cdrom.com> From: Bill Fenner Reply-To: Bill Fenner To: freebsd-bugs Subject: bin/510: netgroup host matching doesn't appear to work In-Reply-To: Your message of Tue, 13 Jun 1995 15:24:55 PDT <199506132224.PAA08651@baobab.parc.xerox.com> Sender: bugs-owner@FreeBSD.org Precedence: bulk >Number: 510 >Category: bin >Synopsis: netgroup host matching doesn't appear to work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs (FreeBSD bugs mailing list) >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 13 15:30:01 1995 >Originator: Bill Fenner >Organization: Xerox PARC >Release: FreeBSD 2.0-BUILT-19950527 i386 >Environment: FreeBSD 2.0.5-ALPHA Existing sun NIS environment >Description: /etc/hosts.equiv has "+@sun-access" in it When trying to log in from the machine "crevenia", I still get asked for a password. "crevenia" is in the sun-access netgroup as both "crevenia" and "crevenia.parc.xerox.com". baobab# domainname PARC baobab# ypwhich eich.parc.xerox.com baobab# alias yk 'ypmatch -k \!* netgroup' baobab# yk sun-access sun-access sun-accessN sun-accessD baobab# yk sun-accessN sun-accessN sun-access01N sun-access02N sun-access03N baobab# yk sun-access01N sun-access01N parc-sunsN parc-ardenN parc-macsN parc-mipsN parc-doradosN parc-daybreaksN parc-symbolicsN parc-nextN baobab# yk parc-sunsN parc-sunsN suns01N suns02N suns03N suns04N suns05N suns06N suns07N suns08N suns09N suns10N suns11N baobab# yk suns02N suns02N parc-suns10N parc-suns11N parc-suns12N parc-suns13N parc-suns14N parc-suns15N parc-suns16N parc-suns17N parc-suns18N baobab# yk parc-suns18N parc-suns18N (crevenia,-,PARC) (antarea,-,PARC) (arcturia,-,PARC) (thyron,-,PARC) /* The D tree follows the N tree exactly, no point in repeating it */ baobab# yk parc-suns18D parc-suns18D (crevenia.parc.xerox.com,-,PARC) (antarea.parc.xerox.com,-,PARC) (arcturia.parc.xerox.com,-,PARC) (thyron.parc.xerox.com,-,PARC) >How-To-Repeat: Try to rlogin to a machine with a netgroup in /etc/hosts.equiv and a + in /etc/netgroup >Fix: >Audit-Trail: >Unformatted: