Date: Fri, 11 Dec 1998 16:25:11 +0000 From: Rui Pedro Mendes Salgueiro <rps@mat.uc.pt> To: freebsd-doc@FreeBSD.ORG Subject: Should be a FAQ: using NIS on FreeBSD Message-ID: <19981211162511.25419@merlin.mat.uc.pt>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981211162511.25419>