Site icon Ananova Business Web Hosting

Network Information Service NIS+

NIS developed by Sun Microsystems and was known as Sun's Yellow Pages (YP). NIS server or YP server maintains information on maps (special database files). Individual systems on the network use NIS clients to make requests from the NIS server which include: ypwhich, ypcat, yppoll, ypmatch, yppasswd and ypset. The NIS server programs include: ypserv, ypinit, yppasswdd, yppush, ypxfr, and netgroup.

NIS works for information required for most administrative tasks relating to users, network access, or devices. For example, to maintain user and password information with the NIS service, a user needs to update only NIS password files. NIS+ provides support for encryption and authentication.

Configuring NIS Server

NIS server options

NIS Database

ypinit -m: Create NIS database consisting of the NIS configuration files. The command is located in the /usr/lib/yp directory.

Update NIS server files using the make command

cd /var/yp
make

The /var/yp/securenets file enables access by hosts on NIS server, referenced by network or individually via subnet mask and IP address.

Netgroups

Create network-level group of users for networkwide services. They are defined in the /etc/netgroup file, consist of netgroup name followed by member identifiers (host, user and NIS domain)

group (host, user, NIS-domain) (host, user, NIS-domain) …


Exit mobile version