How to setup NIS + NFS + autofs in Red Hat Enterprise Linux in order to automount exported NFS share on NIS Client when user logs in ?

Solution Verified - Updated -

Issue

  • How to setup NIS+NFS+automount in Red Hat Enterprise Linux so that home directory of NIS user present on NIS/NFS Server will be automatically mounted on NIS Client when user logs in ?
  • How to setup NIS+NFS+automount ?
  • How to define automount maps in NIS server and client in order to mount home directories of users present on different harddisks(shares) on NFS share when NIS user login at client ?

Environment

  • Red Hat Enterprise Linux 5/6
  • ypserv
  • nfs-utils
  • autofs
  • Red Hat Enterprise Linux as NIS/NFS Server
  • Red Hat Enterprise Linux as NIS Client

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content