LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-01-2011, 09:26 PM   #1
riturajs
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 file..now 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:

/etc/export
/nhome *(rw,sync)

service portmap restart

service nfs restart

on client:
/etc/auto.master

/nhome /etc/auto.nis

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

* 10.121.128.1:/nhome/&

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 10.121.128.1:/nhome /mnt
i can see all the 5 home directoried there under /mnt folder...

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

Rep: Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604Reputation: 604
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
riturajs
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.
 
  


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
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


All times are GMT -5. The time now is 01:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration