Date: Fri, 18 Sep 1998 16:39:03 -0700 (PDT) From: David Wolfskill <dhw@whistle.com> To: freebsd-questions@FreeBSD.ORG, jfrodo42@hotmail.com Subject: Re: NIS Message-ID: <199809182339.QAA24274@pau-amma.whistle.com> In-Reply-To: <19980918210053.22489.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>From: "Jane Frodo" <jfrodo42@hotmail.com> >Date: Fri, 18 Sep 1998 14:00:52 PDT >I am using 2.2.5, on a really smal (5 machine) network: all >tcp/ip based. >On the master NIS machine, I put the magic cookie (+:::::::::) in >the passwd file, and the appropriate magic cookies everywhere >else, and have the master acting as a client as well. >The master machine is fine. What OS does it run? If FreeBSD, how did you update "the passwd file"? (Using vipw is what I'd recommend; /etc/passwd is merely a generated file, so manipulating it directly isn't usually a Good Idea.) Where is your NIS source file for the various *passwd* maps (vs. the file that would be used if NIS weren't an issue)? (For example, I put the source files for my NIS maps in /var/yp/src/`domainname` on the NIS master... and whacked /var/yp/Makefile accordingly. However, the NIS master would still normally look at the /etc directory for the non-NIS information.) >The clients are not though... >I did everything the same on the clients, and they answer >correctly to a ypwhich, but I can't login using NIS passwords: now >the strange part: I *can* see the NIS passwords when I use >ypcat passwd, so I *know* the file is making it over! What did >I do wrong here? Well, if you can see encrypted passwords in the NIS maps, and your NIS master is FreeBSD, the default is that you should *not* see encrypted passwords (unless you look at the master.passwd.by{name,uid} maps). Seems to me that a little more information about your setup is in order, though possibly one of the cleverer folks around here can set you straight right away. david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809182339.QAA24274>