Introduction
The Network Information Services Extension (NIS +) is a service for network naming and management that extends the services provided by Network Information Services (NIS). NIS + works in client-service mode, storing information in a central location and allowing clients to access it over the network. This central location, called the NIS + namespace, can store information such as security details, workstation addresses, and message information.
The NIS + namespace is inherently hierarchical and can be easily configured according to the logical structure of the organization. NIS + also has a specified security system that protects the structure of the namespace and its information, and it checks for authentication and authorization to handle the user's request.
This article summarizes the basic steps and commands for NIS + installation, configuration, and management.
Installation and Configuration
The installation and configuration examples use the following computer names as root servers and clients:
NIS + server: Server (9.124.111.62)
NIS + client: Client (9.124.111.61)
Installation
The installation of NIS + requires a bos.net.nisplus set of files.
Use the following command to check the availability of a file set:
# lslpp –l | grep bos.net.nisplus
The plan NIS + layout includes selecting the root domain name, root server computer, client, and information from the computer. Preparing a sketch of a domain hierarchy can also be useful when configuring NIS +.
The Nisplus module should be defined in the/usr/lib/security/methods.cfg file, as follows:
NISPLUS:
program = /usr/lib/security/NISPLUs
The Nisplus loading module should be available in/usr/lib/security.
In the/etc/security/user file, define the SYSTEM property in the default section as Nisplus or compat:
default:
SYSTEM = NISPLUS OR compat
Include the/usr/lib/nis directory in the default PATH, as follows:
# export PATH=$PATH:/usr/lib/nis