From owner-freebsd-questions Wed Mar 4 18:53:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA03537 for freebsd-questions-outgoing; Wed, 4 Mar 1998 18:53:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA03465 for ; Wed, 4 Mar 1998 18:52:47 -0800 (PST) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id UAA12289; Wed, 4 Mar 1998 20:52:40 -0600 (CST) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id UAA04109; Wed, 4 Mar 1998 20:52:34 -0600 (CST) To: Atipa Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NIS will not authenticate / login References: From: stephen farrell Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 04 Mar 1998 20:52:34 -0600 In-Reply-To: Atipa's message of "Wed, 4 Mar 1998 18:39:07 -0700 (MST)" Message-ID: <87sooxkfwt.fsf@phaedrus.uchicago.edu> Lines: 29 X-Mailer: Gnus v5.5/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Atipa writes: > I am using 2.2.2-RELEASE (BTW - man page is out of date; it refers to > /etc/sysconfig instead of /etc/rc.conf). 2.2.2-RELEASE is rather out-of-date at this point. > I set up yp/nis, and everything appears to work fine (rpc.passwdd, > ypserv, ypcat, ypchsh, ypwhich, etc.). I can make my user lists and verify > them locally and remotely using ypcat. > > I can also change passwords and finger information w/ ypchsh and > yppasswd (and /usr/bin/passwd for NIS-only logins). No problems at all. > > However, whenever I try to login (telnet, ftp, or console) w/ an NIS > identity, I get the normal "login incorrect" message. Yes, I am typing > the correct password :) > > Do you need a different version of /usr/libexec/login for NIS? I would > think authentication would be built into getpwent(), but I could be wrong. Did you add the appropriate entries to /etc/passwd and /etc/group? For more information, see man 5 passwd, in particular the section entitled "YP/NIS INTERACTION". -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message