Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-22-2014, 10:55 PM   #1
Registered: Apr 2012
Distribution: Ubuntu, SUSE, Redhat
Posts: 188

Rep: Reputation: Disabled
autofs question

Hi experts

I got a quick question for you guys about autofs:

I am reading section this section:

I can follow it pretty well until we get to "/home auto.home".

My question is: where is auto.home is suppose to be? Remotely on the NIS?

I can't find it local on my machine.

Old 12-23-2014, 06:06 PM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,704

Rep: Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270Reputation: 1270
auto.home is an NIS map, where the source resides on the NIS master server. It doesn't exist on the local machine.

There is a chain of maps being used from an auto.master map (also in NIS) which references the NIS auto.home map.

What helps this section is to actually carry out the previous section yourself, and play with it. That section uses local files only. Once you get the idea of how that is functioning, what this section does is show how NIS maps may be used to substitute for the local /etc automount files. This works as long as the /etc/nsswitch.conf file entry for automount contains NIS.

You can even make the line "automount: nis" only, and it will only use the NIS maps.

The purpose here is to demonstrate using a centralized database to determine where a particular users files are stored. That makes it easier to manage a network of hosts and eliminates the need to directly admin each system separately, and allows for a centralized backup service for the users files. Once that is done, it becomes easier to drop making system backups (you only need to save the custom configurations), and simplify general administration. (hint, one thing not yet mentioned is having a remote log server so that each system sends its logs to that server instead of storing them in /var/log.)

Now NIS is being depreciated (it hasn't got the best security features), but the next example uses LDAP for the same purpose. LDAP is a bit more complex, so using NIS for the examples makes it simpler to understand.
1 members found this post helpful.
Old 12-23-2014, 08:18 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,169

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
you are aware that link is to CentOS5
5 is the legacy hardware support
The developers LOCKED the software back in 2007

the docs for Cent5 are for 7+ year old software

CentOS 6 and 7 are doing things a bit different


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] autofs question bloodclot Linux - Newbie 5 09-27-2012 06:44 PM
Question about autofs and the mount point directory jamida Linux - Networking 4 12-24-2009 01:31 PM
autofs question mokku Linux - Newbie 1 07-31-2008 01:50 AM
autofs nfs mounting home directories question extendedping Linux - Networking 3 01-30-2008 03:02 PM
autofs question bubble1975 Linux - Software 2 11-14-2006 08:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration