NIS (Network Information System)


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





This page comes from
Kuwait Linux User Group
http://www.q8linux.net

The URL for this page is:
http://www.q8linux.net/modules.php?name=Content&pa=showpage&pid=8