From owner-freebsd-questions Thu Nov 7 13:45:33 2002 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 7885A37B401 for ; Thu, 7 Nov 2002 13:45:31 -0800 (PST) Received: from serv1.wallnet.com (server1.wallnet.com [208.225.162.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6686643E6E for ; Thu, 7 Nov 2002 13:45:30 -0800 (PST) (envelope-from timothyk@wallnet.com) Received: (from root@localhost) by serv1.wallnet.com (8.11.5/8.11.5) id gA7LjTj56840; Thu, 7 Nov 2002 16:45:29 -0500 (EST) (envelope-from timothyk@wallnet.com) Received: from 10.0.1.9 (mts-101.wallnet.com [208.225.162.33]) by serv1.wallnet.com (8.11.5/8.11.5av) with ESMTP id gA7LjQV56821; Thu, 7 Nov 2002 16:45:26 -0500 (EST) (envelope-from timothyk@wallnet.com) Content-Type: text/plain; charset="iso-8859-1" From: Tim Kellers To: Mike Hogsett , Dan Nelson Subject: Re: NIS gods angry Date: Thu, 7 Nov 2002 16:44:53 -0500 User-Agent: KMail/1.4.3 Cc: Tim Kellers , questions@freebsd.org References: <200211072029.gA7KTgLL002386@beast.csl.sri.com> In-Reply-To: <200211072029.gA7KTgLL002386@beast.csl.sri.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200211071644.53319.timothyk@wallnet.com> X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thanks for the replies, guys, it's (freakin' finally) working. When I vipw 'ed on the client machine, I found a space between the last e= ntry=20 and the +::::::::: I deleted it, and saved the file. Before I hupped ypbind (for the millionth time), I sshed over to the NIS= =20 Server and had a look in /var/yp/nemesis The ypservers file contained one line of unreadable characters (lots of=20 @@@@^Z/^A and the like). I checked my /var/yp/atropos/ypservers file on = my=20 home network (domainname atropos) and found one line with 10.0.1.2 10.0.1.2=20 (the private address of my NIS server at home) I went back onto the server at work and changed the line in ypservers to: ipaddress ipaddress=20 (using the real numbers, of course) I rebooted the server, rebooted the client machine and went out and bough= t a=20 fresh pack of cigarettes. When I got back, I logged back onto the client and typed: dhcp198-6# truss su -l zooba (whole lot of stuff scrolls by...) zooba@dhcp198-6 ('tty') ~ 1 -> Bang! it worked! I don't know if it was the extra blank line before the +::::::::: in=20 /etc/master.passwd was the culprit or the weird characters in=20 /var/yp/ypservers. I did some reading to try and find out if=20 /var/yp/ypservers was supposed to be garbled/encrypted but I could find o= ut=20 anything useful. Hopefully, I haven't borked some security by entering p= lain=20 text into the file. By the way, the ending string in my /etc/group file is :*:: I haven't changed that (yet) Thank you all so much, my hair was coming out in fistfulls. Tim Kellers CPE/NJIT On Thursday 07 November 2002 03:29 pm, Mike Hogsett wrote: > > Definitely sounds like a problem with the + line in the passwd file. > > Run vipw, and verify that > > > > +::::::::: > > > > is at the bottom. If it still doesn't work, try truss'ing "id -u > > zoomba" and verify that it's reading the NIS files and doing network > > calls. > > Don't forget to add > > +::: > > to /etc/group also. > > - Mike Hogsett > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message