<HTML ><HEAD ><TITLE >The Linux NIS(YP)/NYS/NIS+ HOWTO</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="NEXT" TITLE="Introduction" HREF="introduction.html"></HEAD ><BODY CLASS="ARTICLE" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="ARTICLE" ><DIV CLASS="TITLEPAGE" ><H1 CLASS="TITLE" ><A NAME="AEN2" ></A >The Linux NIS(YP)/NYS/NIS+ HOWTO</H1 ><H3 CLASS="AUTHOR" ><A NAME="AEN4" >Thorsten Kukuk</A ></H3 ><P CLASS="PUBDATE" >v1.3, 1 July 2003<BR></P ><DIV ><DIV CLASS="ABSTRACT" ><A NAME="AEN7" ></A ><P ></P ><P > This document describes how to configure Linux as NIS(YP) or NIS+ client and how to install as NIS server.</P ><P ></P ></DIV ></DIV ><HR></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >Table of Contents</B ></DT ><DT >1. <A HREF="introduction.html" >Introduction</A ></DT ><DD ><DL ><DT >1.1. <A HREF="introduction.html#AEN29" >New Versions of this Document</A ></DT ><DT >1.2. <A HREF="introduction.html#AEN36" >Disclaimer</A ></DT ><DT >1.3. <A HREF="introduction.html#AEN39" >Feedback and Corrections</A ></DT ><DT >1.4. <A HREF="introduction.html#AEN45" >Acknowledgements</A ></DT ></DL ></DD ><DT >2. <A HREF="glossary.html" >Glossary and General Information</A ></DT ><DD ><DL ><DT >2.1. <A HREF="glossary.html#AEN53" >Glossary of Terms </A ></DT ><DT >2.2. <A HREF="glossary.html#AEN120" >Some General Information </A ></DT ></DL ></DD ><DT >3. <A HREF="which.html" >NIS, NYS or NIS+ ?</A ></DT ><DD ><DL ><DT >3.1. <A HREF="which.html#AEN143" >libc 4/5 with traditional NIS or NYS ? </A ></DT ><DT >3.2. <A HREF="which.html#AEN153" >glibc 2 and NIS/NIS+ </A ></DT ><DT >3.3. <A HREF="which.html#AEN160" >NIS or NIS+ ? </A ></DT ></DL ></DD ><DT >4. <A HREF="operation.html" >How it works</A ></DT ><DD ><DL ><DT >4.1. <A HREF="operation.html#AEN167" >How NIS works </A ></DT ><DT >4.2. <A HREF="operation.html#AEN180" >How NIS+ works </A ></DT ></DL ></DD ><DT >5. <A HREF="portmapper.html" >The RPC Portmapper </A ></DT ><DT >6. <A HREF="setting_nis.html" >What do you need to set up NIS? </A ></DT ><DD ><DL ><DT >6.1. <A HREF="setting_nis.html#AEN205" >Determine whether you are a Server, Slave or Client. </A ></DT ><DT >6.2. <A HREF="setting_nis.html#AEN220" >The Software </A ></DT ></DL ></DD ><DT >7. <A HREF="settingup_client.html" >Setting Up the NIS Client</A ></DT ><DD ><DL ><DT >7.1. <A HREF="settingup_client.html#AEN231" >The ypbind daemon </A ></DT ><DT >7.2. <A HREF="settingup_client.html#AEN280" >Setting up a NIS Client using Traditional NIS </A ></DT ><DT >7.3. <A HREF="settingup_client.html#AEN300" >Setting up a NIS Client using NYS </A ></DT ><DT >7.4. <A HREF="settingup_client.html#AEN308" >Setting up a NIS Client using glibc 2.x </A ></DT ><DT >7.5. <A HREF="settingup_client.html#AEN313" >The nsswitch.conf File </A ></DT ><DT >7.6. <A HREF="settingup_client.html#AEN326" >Shadow Passwords with NIS </A ></DT ></DL ></DD ><DT >8. <A HREF="nisplus.html" >What do you need to set up NIS+ ?</A ></DT ><DD ><DL ><DT >8.1. <A HREF="nisplus.html#AEN347" >The Software </A ></DT ><DT >8.2. <A HREF="nisplus.html#AEN357" >Setting up a NIS+ client </A ></DT ><DT >8.3. <A HREF="nisplus.html#AEN372" >NIS+, keylogin, login and PAM </A ></DT ><DT >8.4. <A HREF="nisplus.html#AEN379" >The nsswitch.conf File </A ></DT ></DL ></DD ><DT >9. <A HREF="ypserv.html" >Setting up a NIS Server </A ></DT ><DD ><DL ><DT >9.1. <A HREF="ypserv.html#AEN400" >The Server Program ypserv </A ></DT ><DT >9.2. <A HREF="ypserv.html#AEN468" >The Server Program yps </A ></DT ><DT >9.3. <A HREF="ypserv.html#AEN478" >The Program rpc.ypxfrd </A ></DT ><DT >9.4. <A HREF="ypserv.html#AEN487" >The Program rpc.yppasswdd </A ></DT ></DL ></DD ><DT >10. <A HREF="verification.html" >Verifying the NIS/NYS Installation </A ></DT ><DT >11. <A HREF="maps.html" >Creating and Updating NIS maps </A ></DT ><DD ><DL ><DT >11.1. <A HREF="maps.html#AEN527" >Creating new NIS maps </A ></DT ><DT >11.2. <A HREF="maps.html#AEN541" >Updating NIS maps </A ></DT ><DT >11.3. <A HREF="maps.html#AEN548" >Length of Map entries </A ></DT ></DL ></DD ><DT >12. <A HREF="reboot.html" >Surviving a Reboot</A ></DT ><DD ><DL ><DT >12.1. <A HREF="reboot.html#AEN568" >NIS Init Script</A ></DT ><DT >12.2. <A HREF="reboot.html#AEN576" >NIS Domain Name</A ></DT ><DT >12.3. <A HREF="reboot.html#AEN581" >Distribution-specific Issues</A ></DT ></DL ></DD ><DT >13. <A HREF="rpasswdd.html" >Changing passwords with rpasswd </A ></DT ><DD ><DL ><DT >13.1. <A HREF="rpasswdd.html#AEN624" >Server Configuration </A ></DT ><DT >13.2. <A HREF="rpasswdd.html#AEN642" >Client Configuration </A ></DT ></DL ></DD ><DT >14. <A HREF="troubleshooting.html" >Common Problems and Troubleshooting NIS </A ></DT ><DT >15. <A HREF="faq.html" >Frequently Asked Questions </A ></DT ></DL ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="introduction.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" > </TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Introduction</TD ></TR ></TABLE ></DIV ></BODY ></HTML >