From owner-freebsd-questions Wed Dec 10 17:40:25 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA15595 for questions-outgoing; Wed, 10 Dec 1997 17:40:25 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from fly.HiWAAY.net (root@fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA15589 for ; Wed, 10 Dec 1997 17:40:14 -0800 (PST) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt1-227.HiWAAY.net [208.147.147.227]) by fly.HiWAAY.net (8.8.7/8.8.6) with ESMTP id TAA01892; Wed, 10 Dec 1997 19:40:04 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by nospam.hiwaay.net (8.8.8/8.8.4) with ESMTP id TAA00717; Wed, 10 Dec 1997 19:35:50 -0600 (CST) Message-Id: <199712110135.TAA00717@nospam.hiwaay.net> X-Mailer: exmh version 2.0zeta 7/24/97 To: Sean Shilton cc: questions@FreeBSD.ORG From: David Kelly Subject: Re: NIS client In-reply-to: Message from Sean Shilton of "Wed, 10 Dec 1997 18:42:36 EST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 10 Dec 1997 19:35:49 -0600 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Sean Shilton writes: > > I am running a FreeBSD 2.2.5-current machine which i am trying to use as a > NIS client. I have the domain set correctly and ypcat passwd yeilds all > the users in the NIS map. What do i havce to add to the passwd file to > for the machine to accept NIS logins. "man 5 passwd" yeilds: YP/NIS INTERACTION Enabling access to NIS passwd data The system administrator can configure FreeBSD to use NIS/YP for its password information by adding special records to the /etc/master.passwd file. These entries should be added with vipw(8) so that the changes can be properly merged with the hashed password databases and the /etc/passwd file ( /etc/passwd should never be edited manually). Alternatively, the administrator can modify /etc/master.passwd in some other way and then manually update the password databases with pwd_mkdb(8). The simplest way to activate NIS is to add an empty record with only a plus sign (`+') in the name field, such as this: +::::::::: The `+' will tell the getpwent(3) routines in FreeBSD's standard C li- brary to begin using the NIS passwd maps for lookups. You might want to do a similar thing for /etc/group. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.