From owner-freebsd-questions@FreeBSD.ORG Tue Aug 9 01:03:02 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EA2B16A41F for ; Tue, 9 Aug 2005 01:03:02 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CC4743D46 for ; Tue, 9 Aug 2005 01:03:02 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j79131fa088870; Mon, 8 Aug 2005 20:03:01 -0500 (CDT) (envelope-from dan) Date: Mon, 8 Aug 2005 20:03:01 -0500 From: Dan Nelson To: Jeremy Utley Message-ID: <20050809010301.GA37912@dan.emsphone.com> References: <3aaec88405080816514a40f327@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3aaec88405080816514a40f327@mail.gmail.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: NIS problems on FreeBSD 5.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Aug 2005 01:03:02 -0000 In the last episode (Aug 08), Jeremy Utley said: > I'm trying to use FreeBSD 5.4 as an NIS client, and am encountering > problems. I've followed the instructions given in the FreeBSD docs > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nis.html) > successfully, but the system does not recognize my NIS users. > > Running ypcat passwd shows expected output: > > freebsd5# ypcat passwd > Administrator:omitted:0:0::/root:/bin/bash > jeremy:omitted:500:100::/home/jeremy:/bin/bash > test:omitted:501:100::/home/test:/bin/bash You might want to change these passwords now that everyone knows the hash :) > However, when I try to login as any of these 3 users, it rejects the > login - even using the "id" command fails: > > freebsd5# id jeremy > id: jeremy: no such user You need either a plus line in your master.passwd file (best way to add it is to use the vipw command): +::::::::: Or you need this in /etc/nsswitch.conf: passwd: files nis -- Dan Nelson dnelson@allantgroup.com