Kuwait Linux User Group

Welcome to the Kuwait Linux User Group, thats dedicated to talk about Linux, BSD, and the use of open source
specially for Kuwait community & others as well -- beside encouraging them to use it.
Follow Us:

August 25, 2004 11:59 AM EDT

NIS (Network Information System)

Author: . 5300 Reads
  Print this page   Export to PDF format   Mail to a friend


NIS:

  • Client Configuration:

    1. vi /etc/yp.conf

      • domain NISDOMAIN server HOSTNAME

    2. Starting ypbind

      • chkconfig --level 35 ypbind on

    3. vi /etc/nsswitch.conf

      • files nisplus nis dns

      • passwd: files
        shadow: files
        group: files

  • Client Command:

    • yppasswd

  • Server Configuration:

    • Packages:

      • ypserv

      • yp-tools

    • Commands:

      • domainname

      • domainname nis-iron-linux.com

      • updatedb --> locate ypinit

      • /usr/lib/yp/ypinit -m                      <-- Mater NIS

      • /usr/lib/yp/ypinit -s                        <-- Slave NIS

      • service ypserv start

    • Security:

      • vi /var/yp/securenets

        • # Always allow access for localhost
          255.0.0.0 127.0.0.0



Copyright © by Kuwait Linux User Group
All rights reserved.


Category: howto
Tags: None
Bookmark: Share/Save/Bookmark

[ Go Back ]
Content ©

Survey

What's your Favorite Mail Server(smtp)?

Sendmail
Qmail
Postfix
Exchange
Lotus Notes



Results
Polls

Votes: 100
Comments: 62