LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 06-01-2005, 01:20 PM   #1
MarvinWatkins
LQ Newbie
 
Registered: Jun 2005
Location: RTP, NC
Distribution: Lindows, RedHat9, Fedora3
Posts: 1

Rep: Reputation: 0
Trouble Accessing NIS Home Directories


have installed RH9 on VMware Workstation 5.
Setup NIS client connecting to a Sun Solaris 8 NIS server
System authenticates NIS user correctly, but is having trouble with
properly handling home directories.

When I attempt to su as NIS user, I get the following:

[hr9 root]su - myNISUser
-bash exec: hostname: not found
@myNISUser> ls
-bash ls: command not found
@myNISUser> pwd
/home/myNISUser

I have noticed that automount is mapping the NIS home folders
to /user. Unfortunately, our standard is to map them to /home. I
would like to know how to change that. Currently, I see a process:

/usr/sbin/automount /user yp auto.home -nobrowse

I just don't know where to change that.

To resolve this, I mounted the home directories to the /home
directory in fstab. That still did not resolve the issue.

Any help will be GREATLY appreciated.
 
Old 06-01-2005, 02:59 PM   #2
cowboy_jake
Member
 
Registered: Apr 2005
Location: Texas
Distribution: RHEL 2.1,3.0,4.0
Posts: 39

Rep: Reputation: 15
Check in /etc/auto.master or /etc/auto.home

Last edited by cowboy_jake; 06-01-2005 at 03:00 PM.
 
Old 06-02-2005, 04:23 AM   #3
bramhastra
Member
 
Registered: May 2005
Location: India
Distribution: RHEL 4.0
Posts: 136

Rep: Reputation: 15
Quote:
http://docs.hp.com/en/B1031-90043/ch04s05.html#bjabedai
Quote:
http://www.tldp.org/HOWTO/NIS-HOWTO/settingup_client.html
Hope these site gives you some help

well to change the deafult location to /home change the settings in the configration file of NIS client
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NIS Client/Server setup... mapping Home Directories trey85stang Linux - Networking 4 01-06-2011 05:29 AM
NIS and home directories (Suse 10) linuxmfx Linux - Networking 3 10-19-2005 10:28 AM
getting home directories to automount with NIS schurt Linux - Networking 3 04-23-2004 12:55 PM
NIS authentication & /home directories zapperabhi Linux - Software 0 03-10-2004 08:37 PM
NIS/NFS and sharing home directories grebo Linux - Networking 1 09-21-2001 11:21 PM


All times are GMT -5. The time now is 03:01 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration