From owner-freebsd-questions Fri Jul 26 11:26:43 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA13872 for questions-outgoing; Fri, 26 Jul 1996 11:26:43 -0700 (PDT) Received: from iworks.InterWorks.org (deischen@iworks.interworks.org [128.255.18.10]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id LAA13861 for ; Fri, 26 Jul 1996 11:26:39 -0700 (PDT) Received: by iworks.InterWorks.org (1.37.109.8/16.2) id AA17456; Fri, 26 Jul 1996 13:24:31 -0500 Message-Id: <9607261824.AA17456@iworks.InterWorks.org> Date: Fri, 26 Jul 1996 13:24:31 -0500 From: "Daniel M. Eischen" To: bennett@centerline.com, questions@freebsd.org Subject: Re: How to setup NIS? Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I am having some trouble setting up NIS on a FreeBSD 2.1.0 system. > I cannot find any documentation on how to setup up NIS. I looked in > the FAQ and the handbook. > > This is what I have done: > > 1. I set nis_clientflags to the following in my /etc/sysconfig file: > > nis_clientflags="-s" > > 2. Using vipw, I added the following to the bottom of the master.passwd file: > > +::::::::: > > 3. I rebooted the machine and verified that the ypbind process > was running. > > Everything seems to work, except nobody can log into the machine. It > doesn't recognize their account in the NIS database. Using ypcat, I > can display the NIS password file (ypcat passwd) and all of the other > maps. I can even switch to someone's account using su, if I'm logged > in as root. Also, finger recognizes everyone in our NIS database. It > just doesn't work when someone tries to login. The login process > doesn't seem to consult the NIS password file. > > Is there something else I need to do to get this to work? Any help would > be greatly appreciated. Have you installed the DES libraries? bash$ ls -l /usr/lib/libcry* lrwxr-xr-x 1 bin bin 13 Jun 21 15:41 /usr/lib/libcrypt.a -> libdescrypt.a lrwxr-xr-x 1 bin bin 18 Jun 21 15:41 /usr/lib/libcrypt.so.2.0 -> libdescrypt.so.2.0 Dan Eischen deischen@iworks.InterWorks.org