LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 11:54 AM   #1
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

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 01:31 PM. Reason: added maps locally and solved it that way..
 
Old 09-27-2012, 01:02 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 12:18 PM   #3
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

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, 12:23 PM   #4
bloodclot
LQ Newbie
 
Registered: Apr 2012
Posts: 13

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, 06:25 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

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

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



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 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
NIS, NFS, autofs and /home folder question ramram29 Linux - Networking 2 08-25-2006 08:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 AM.

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
Open Source Consulting | Domain Registration