From owner-freebsd-doc Fri Dec 11 08:25:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA24448 for freebsd-doc-outgoing; Fri, 11 Dec 1998 08:25:37 -0800 (PST) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from merlin.mat.uc.pt (merlin.mat.uc.pt [192.138.204.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA24441 for ; Fri, 11 Dec 1998 08:25:31 -0800 (PST) (envelope-from rps@merlin.mat.uc.pt) Received: (from rps@localhost) by merlin.mat.uc.pt (8.9.0/8.9.0) id QAA12126; Fri, 11 Dec 1998 16:25:11 GMT Message-ID: <19981211162511.25419@merlin.mat.uc.pt> Date: Fri, 11 Dec 1998 16:25:11 +0000 From: Rui Pedro Mendes Salgueiro To: freebsd-doc@FreeBSD.ORG Subject: Should be a FAQ: using NIS on FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi. I have recently installed FreeBSD 2.2.7 (I just read a post mentioning 2.2.8, so I assume my system is already out dated :-). Here we use NIS (YP) so I had the usual problem in getting the FreeBSD system to understand the passwords. Thanks to Dejanews and Bill Paul (http://www.dejanews.com/getdoc.xp?AN=354673363) I found out that I needed to install libdes.so and libdescrypt.so. They were already installed, so I just did the following: # cd /usr/lib # ls -l libcry* lrwxrwxrwx 1 root bin 11 Nov 20 12:32 libcrypt.a -> libscrypt.a lrwxrwxrwx 1 root bin 16 Nov 20 12:32 libcrypt.so.2.0 -> libscrypt.so.2.0 lrwxrwxrwx 1 root bin 13 Nov 20 12:33 libcrypt_p.a -> libscrypt_p.a # rm libcrypt.a libcrypt.so.2.0 libcrypt_p.a # ln -s libdescrypt.a libcrypt.a ; ln -s libdescrypt.so.2.0 libcrypt.so.2.0 ; # ln -s libdescrypt_p.a libcrypt_p.a # ls -l libcry* lrwxrwxrwx 1 root bin 13 Dec 11 02:20 libcrypt.a -> libdescrypt.a lrwxrwxrwx 1 root bin 18 Dec 11 02:20 libcrypt.so.2.0 -> libdescrypt.so.2.0 lrwxrwxrwx 1 root bin 15 Dec 11 02:20 libcrypt_p.a -> libdescrypt_p.a It seems to be working well. Now, this seems a FAQ (I have found 53 articles by Bill Paul with NIS or YP on the subject since 1995, many of them about the setup of NIS clients), but: % cd /usr/share/doc/ % egrep '(NIS|YP | YP)' handbook/handbook* FAQ/FAQ* Just matchs release notes and similar, not guides. I suggest a question 8.22 could be added to the FAQ: 8.22 How do I make my FreeBSD system a NIS(YP) client ? The answer could be something like: 1 - turn on NIS in /etc/rc.conf. Change the lines: nisdomainname="your_domain" nis_client_enable="YES" 2 - add a +::::::::: line to the passwd(5) file using vipw. Read the passwd(5) man page for details. 3 - explain the above bit about the DES libs. -- http://www.mat.uc.pt/~rps/f1/ an ex-tifoso since 95/11/13 .pt is Portugal| `Whom the gods love die young'-Menander (342-292 BC) Europe | Villeneuve 50-82, Toivonen 56-86, Senna 60-94 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message