The FreeBSD NIS(YP)/NYS/NIS+ HOWTOLinux version by
IntroductionMore and more, FreeBSD machines are installed as part of a network of
IntroductionMore and more, FreeBSD machines are installed as part of a network of
New Versions of this DocumentYou can always view the latest version of this document on the
New Versions of this DocumentYou can always view the latest version of this document on the
DisclaimerAlthough this document has been put together to the best of my
DisclaimerAlthough this document has been put together to the best of my
Feedback and CorrectionsIf you have questions or comments about this document, please feel
Feedback and CorrectionsIf you have questions or comments about this document, please feel
AcknowledgementsWe would like to thank all the people who have contributed (directly
AcknowledgementsWe would like to thank all the people who have contributed (directly
Glossary and General Information
Glossary and General Information
Glossary of Terms
Glossary of Terms
Some General Information
Some General Information
NIS, NYS or NIS+ ?
NIS, NYS or NIS+ ?
libc 4/5 with traditional NIS or NYS ?
libc 4/5 with traditional NIS or NYS ?
glibc 2 and NIS/NIS+
glibc 2 and NIS/NIS+
NIS or NIS+ ?
NIS or NIS+ ?
How it works
How it works
How NIS works
How NIS works
How NIS+ works
How NIS+ works
The RPC Portmapper
The RPC Portmapper
What do you need to set up NIS?
What do you need to set up NIS?
Determine whether you are a Server, Slave or Client.
Determine whether you are a Server, Slave or Client.
The Software
The Software
Setting Up the NIS Client
Setting Up the NIS Client
The ypbind daemon
The ypbind daemon
Setting up a NIS Client using Traditional NIS
Setting up a NIS Client using Traditional NIS
Setting up a NIS Server
Setting up a NIS Server
The Server Program ypserv
The Server Program ypserv
Verifying the NIS/NYS Installation
Verifying the NIS/NYS Installation
Creating and Updating NIS maps
Creating and Updating NIS maps
Creating new NIS maps
Creating new NIS maps
Updating NIS maps
Updating NIS maps
Length of Map entries
Length of Map entries
Surviving a RebootOnce you have NIS correctly configured on the server and client, you do need
Surviving a RebootOnce you have NIS correctly configured on the server and client, you do need
NIS Init ScriptIn your version of Linux, you need to check your directory of init scripts,
NIS Init ScriptIn your version of Linux, you need to check your directory of init scripts,
NIS Domain NamePerhaps the greatest issue that some people have with NIS is ensuring that
NIS Domain NamePerhaps the greatest issue that some people have with NIS is ensuring that
Distribution-specific IssuesAt this time, the following information is known about how various Linux
Distribution-specific IssuesAt this time, the following information is known about how various Linux
Caldera 2.xCaldera uses the file /etc/nis.conf which has the same format
Caldera 2.xCaldera uses the file /etc/nis.conf which has the same format
DebianDebian appears to follow Sun's usage of /etc/defaultdomain.
DebianDebian appears to follow Sun's usage of /etc/defaultdomain.
Red Hat Linux 6.x and 7.xCreate or modify the variable NISDOMAIN in the file
Red Hat Linux 6.x and 7.xCreate or modify the variable NISDOMAIN in the file
SuSE Linux 6.x and 7.xModify the variable YP_DOMAINNAME in /etc/rc.config and then run the command SuSEconfig.
SuSE Linux 6.x and 7.xModify the variable YP_DOMAINNAME in /etc/rc.config and then run the command SuSEconfig.
SuSE Linux 8.xSince version 8.0 SuSE Linux also follow Sun's usage of
SuSE Linux 8.xSince version 8.0 SuSE Linux also follow Sun's usage of
Common Problems and Troubleshooting NIS
Common Problems and Troubleshooting NIS
Frequently Asked Questions
Frequently Asked Questions