NIS on Solaris

  1. /etc/auto_direct
    
    +auto_direct
    /usr/dist   -ro,hard,intr,bg     distserver:/usr/dist
    
  2. /etc/auto_home
    
    # Home directory map for automounter
    +auto_home
    
  3. /etc/auto_master
    
    # Master map for automounter
    #
    +auto_master
    /-       auto_direct        -nosuid,ro
    /net     -hosts             -nosuid,nobrowse
    /home    auto_home          -nobrowse
    /xfn     -xfn
    
  4. % /usr/bin/ypwhich shows which NIS server my workstation is bound to.
  5. % /usr/bin/ypcat -k passwd
  6. % ypmatch entry mapname
  7. % getent mapname entry

Copyright© 1995-2001 Daniel SW Kim. All Rights Reserved