LinuxQuestions.org
Help answer threads with 0 replies.
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 07-24-2009, 10:20 AM   #1
Savita Eli
LQ Newbie
 
Registered: Jul 2009
Location: St.Louis,MO
Posts: 13

Rep: Reputation: 0
Cool auto.home, autofs + NIS problem


Hi,

I am facing 2 problems with this.
My machine configurations:
---------------------------------
NIS server: 172.168.1.132
NFS Shares: /rhome/station100/

NIS Client: 172.168.1.129
Needs to mount nis user dir under /rhome/nis which on server, is under /rhome/station100/nis


My auto.master entries:
/rhome/ /etc/auto.home -rw

My auto.home entries:
station100 172.168.1.132:/rhome/&
* 172.168.1.132:/rhome/station100/&

Details:
-----------

Problem 1> Even though,nis1's home dir gets mounted under /rhome/nis1,
I get the error upon login: "Could not able to change to /rhome/statoion100/nis1 No such file or directory" on client(172.168.1.129) and nis user is placed in '/' of client.

[root@aca80181 ~]# ssh -l nis1 172.168.1.129
nis1@172.168.1.129's password:
Last login: Thu Jul 23 11:42:09 2009 from aca80181.ipt.aol.com
Could not chdir to home directory /rhome/station100/nis1: No such file or directory
-bash-3.2$ pwd
/

Problem 2> Though only one user nis1 tried to login, all the users are getting their home dirs in /rhome/.I want the home dir of only the user who logs in to be mounted.

[root@aca80181 ~]# ls /rhome/
nis1 nis2 nis3

Plz tell me how to resolve this.This seems very challenging.

Last edited by Savita Eli; 07-24-2009 at 11:12 AM.
 
Old 08-03-2009, 12:37 AM   #2
Savita Eli
LQ Newbie
 
Registered: Jul 2009
Location: St.Louis,MO
Posts: 13

Original Poster
Rep: Reputation: 0
Wink Not single reply...:(

Still nothing on this. I can't believe no one has tried to do this before. It seems like it would be a common issue.

Please help!!Bump!
 
Old 11-12-2010, 09:40 AM   #3
sicinthemind
LQ Newbie
 
Registered: Nov 2010
Location: Zephyrhills, FL
Distribution: Fed - 9/13/14, RHEL 5.3/4 & 6, Server 2008 R2 - Win7.
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by Savita Eli View Post
Still nothing on this. I can't believe no one has tried to do this before. It seems like it would be a common issue.

Please help!!Bump!
rw doesn't go in the auto.master file, it goes in the auto.home file in between the asterik and the server:directory

/etc/auto.master
/rhome /etc/auto.home
/etc/auto.home
* rw,soft server:/rhome/station100/&

Last edited by sicinthemind; 11-12-2010 at 10:13 AM.
 
  


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
Need help:Configuring autofs to automount the home directories of NIS users. Savita Eli Linux - Server 4 08-26-2009 11:26 PM
auto mount to nfs home dir when user login to nis client lijianatusa Linux - Newbie 4 02-25-2009 11:38 PM
strange! can't use auto.nis as the file name for autofs service myhnet Linux - General 2 07-14-2008 11:29 PM
NIS, NFS, autofs and /home folder question ramram29 Linux - Networking 2 08-25-2006 08:26 PM
NIS and autofs with /home Rekna Linux - Networking 1 06-20-2004 11:34 PM

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

All times are GMT -5. The time now is 09:33 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