Configure NIS on AIX

This entry was posted in Linux, Networking and tagged on June 17, 2012, by

NIS: Network Information System (NIS) is a networked database that can be used to store system files that needs to be shared among a number of computers

Configure NIS Server

1. Create a NIs domain

The NIS domain is collection of systems taht are logically grouped together.

Using system management tool run following command,

# smitty chypdom

change the host domain name

Verify the domainname

# domainname

2. To configure NIS server, run following command to see if NIS fileset is installed

# lslpp -l bos.net.nis.server

3 . Now configure NIS master

# smitty mkmaster

Configure the server, initialize yppasswd and ypudated daemons so the users can change password

4 . Check to see NIS demons is working

# ps -aef | grep yp

Now the NIS server is setup

Configure NIS client

Check bos.net.nis.client is installed or not

# lslpp -l bos.net.nis.client

1. configure domain for NIS client

Make sure NIS master and client are in same network

Use the following command to configure NIS using smit tool

# smitty mkclient

Provide the NIS server name and domain

2. Once NIS is configure its starts the ypbind daemon.

# ps -aef | grep yp

3. Verify NIS client configuration

# lsuser -R NIS ALL

If you want to update user’s information

# smitty mkmaps

And update the maps.

&nbsp

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2017 ©Aceadmins. All rights reserved.