Help answer threads with 0 replies.
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 04-01-2011, 09:26 PM   #1
LQ Newbie
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
Question Need help with automounting

Hi frnds,

I Hav a problem, I m using redhat server 5.4, and using NIS i have created 5 users user1..user2 ....user5 with home directory in /nhome as on the server...

On the client machine i have done automounting with etc/auto.master comes my problem.whenever i try to login with the user...user can login but is not able to get home directories..
Here are the settins which i have made on server and cleint:

/nhome *(rw,sync)

service portmap restart

service nfs restart

on client:

/nhome /etc/auto.nis

then i have created auto.nis file and in the file i have made following settings:


service autofs restart.

i can see /nhome on the client but not the 5 home directories inside the nhome folder...but after softmounting using command:
mount /mnt
i can see all the 5 home directoried there under /mnt folder...

please help...
Old 04-01-2011, 10:45 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
the folders will not be mounted until you actually try to use them. do:

ls /nhome/user1
ls /nhome
Old 04-02-2011, 04:05 PM   #3
LQ Newbie
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 0
No working..
i have tried that but its not working...when i do ls /nhome nothing is in there...
but after mounting the same directory temporarily to the /mnt or any other folder i can see the contents.


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
Automounting cybersaga Slackware 4 02-04-2005 12:53 AM
AutoMounting .???...............yes, Again :) hamoksh Linux - Newbie 7 08-15-2003 03:07 PM
automounting?? graffitici Linux - Hardware 6 07-04-2003 04:58 AM
AutoMounting dkc_ace Linux - Hardware 2 05-13-2003 02:57 PM
Automounting vector Linux - General 4 03-19-2003 06:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 AM.

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