LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-26-2012, 12:54 PM   #1
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Rep: Reputation: Disabled
autofs question


Hello,

Is there a way to only use a couple autofs maps?

Ie you don't want to use all the maps only 2?

Thanks!

Last edited by bloodclot; 09-26-2012 at 02:31 PM. Reason: added maps locally and solved it that way..
 
Old 09-27-2012, 02:02 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,263

Rep: Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329
I think we're going to need more detail ie tell us exactly what you want, don't just describe it.
 
Old 09-27-2012, 01:18 PM   #3
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi Sorry,

I copied the 2 maps locally and then referenced them in auto.master and it worked that way..

Thanks!
 
Old 09-27-2012, 01:23 PM   #4
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ps. I did run into it not working if I have selinux enabled..

How do I get it to work on centos 6.3 with autofs and selinux on?

auto.master -

/home /etc/auto.home --timeout=600
/tool /etc/auto.tool --timeout=600
 
Old 09-27-2012, 07:25 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,263

Rep: Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329Reputation: 2329
Show the map files /etc/auto.home, /etc/auto.tool
 
Old 09-27-2012, 07:44 PM   #6
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
auto.tool -

hgroot tiny:/data/&


auto.home -

steve alyx:/valve2/home/$
paul alyx:/valve2/home1/&
molly baby:/data/archive/&
john chell:/valve2/home/$

Thanks
 
  


Reply


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
Question about autofs and the mount point directory jamida Linux - Networking 4 12-24-2009 02:31 PM
autofs question mokku Linux - Newbie 1 07-31-2008 02:50 AM
autofs nfs mounting home directories question extendedping Linux - Networking 3 01-30-2008 04:02 PM
autofs question bubble1975 Linux - Software 2 11-14-2006 09:23 PM
NIS, NFS, autofs and /home folder question ramram29 Linux - Networking 2 08-25-2006 09:26 PM


All times are GMT -5. The time now is 01:42 PM.

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