Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 2.03 KB

File metadata and controls

39 lines (29 loc) · 2.03 KB
title description weight aliases tags
Setting up NIS
Use the NIS screen to configure Network Information System (NIS) on your TrueNAS.
30
/core/directoryservices/nis/
corenis
coreldap

{{< toc >}}

NIS (Network Information Service) is a client–server directory service protocol. It assists in distributing system configuration data between computers on a network. This data can include user and host names.

{{< expand "What exactly does this do?" "v" >}} A NIS system maintains and distributes a central directory. This central directory contains user and group information. It also contains other text-based tables of information. These tables can include host names and e-mail aliases. In FreeBSD, the file /etc/passwd contains the list of users. The file /etc/shadow contains the authentication hashes. NIS adds another global user list to identify users on any NIS domain client. {{< /expand >}}

{{< hint type=important >}} NIS is limited in scalability and security. For modern networks, [LDAP]({{< relref "LDAP.md" >}}) has replaced NIS. {{< /hint >}}

To configure NIS, go to Directory Services > NIS.

DirectoryServicesNIS

Enter the NIS Domain name and list any NIS Servers (host names or IP addresses). Press Enter to separate server entries. Configure the remaining options as needed:

  • Secure Mode : Select to have ypbind(8) refuse to bind to any NIS server not running as root on a TCP port over 1024.
  • Manycast : Select for ypbind to bind to the fastest responding server.
  • Enable : Leave the checkbox clear to disable the configuration without deleting it.

Click SAVE to save configuration settings.

Click REBUILD DIRECTORY SERVICE CACHE to resync the cache if it becomes out of sync. Or if fewer users than expected are available in the permissions editors.