[How-To] Automounting Home Directories with NIS and NFS

This writeup was done on Debian Server and Ubuntu Desktop. Our goal is to automounting home directories using NIS, NFS and autofs.

I won’t explain each step,just check out the previous posts and make necessary changes.

1. Install and Configure NIS
2. Install and Configure NFS

$ sudo vim /etc/exports

3. Configure autofs in clients

$ sudo apt-get install autofs
$ sudo vim /etc/auto.master
/home    /etc/auto.home --timeout=600

$ sudo vim auto.home
*    server.mydomain.com:/home/&

Et voilĂ  !

Tagged: , , , , , , , ,

Leave a Reply :

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: