From owner-freebsd-questions Tue Mar 24 21:11:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA07266 for freebsd-questions-outgoing; Tue, 24 Mar 1998 21:11:31 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from dan.emsphone.com (dan@dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA07247 for ; Tue, 24 Mar 1998 21:11:22 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.8.8/8.8.6) id XAA02768; Tue, 24 Mar 1998 23:11:12 -0600 (CST) Message-ID: <19980324231112.A2645@emsphone.com> Date: Tue, 24 Mar 1998 23:11:12 -0600 From: Dan Nelson To: Carey Nairn , Salvatore Riccio , freebsd-questions@FreeBSD.ORG Subject: Re: Can't login using nis (yp) References: <000101bd57a3$826b5580$40152399@win95> <3.0.1.32.19980325153255.009ffb00@mailroom.dpac.tas.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.90.10i In-Reply-To: <3.0.1.32.19980325153255.009ffb00@mailroom.dpac.tas.gov.au>; from "Carey Nairn" on Wed Mar 25 15:32:55 GMT 1998 X-OS: FreeBSD 2.2.6-BETA Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Mar 25), Carey Nairn said: > At 23:07 24/03/98 -0500, Salvatore Riccio wrote: > >which shows that the freebsd system queries the yp server which > >return the user information. The /etc/passwd file on the freebsd > >system was edited to include the in the last line > >+:*:0:0:::::: > >to add to this file the yp servers password maps. > > This sounds like the same problem I am having and have posted to the > -questions list about. As yet I have had no reply, but the server I am > trying to authenticate with is a FreeBSD-2.0.5 machine. All other yp > functions (ypcat, ypbind, ypwhich...) seem to work OK. > > If you get anywhere with this i would appreciate any info you have. > Likewise, if I have a breakthrough I will let you know. Please read the passwd(5) man page, which explains that you really want +::::::::: as your NIS line (and use vipw to edit it; /etc/passwd is not used under FreeBSD). The line you specified set a password of '*' (locking out all NIS logins), and remapped the uid and gid for all NIS users to 0 (which would have been a huge security hole if not for the locked-out password) I am able to to authenticate to a NIS server running on a Netware 4.11 machine with no problems. -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message