The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Redhat Linux? Mr_Pinky UNIX for Dummies Questions & Answers 6 09-25-2005 10:45 AM
Redhat Linux? Insomniac Slackware 9 12-23-2003 06:53 AM
FTP on Redhat Linux 9 Spetnik UNIX for Dummies Questions & Answers 2 07-01-2003 08:11 PM
GUI for Redhat Linux savagebeast UNIX for Dummies Questions & Answers 2 11-09-2002 01:23 PM
redhat linux 7.3 matt2kjones UNIX for Dummies Questions & Answers 2 06-08-2002 02:10 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-01-2003
larry larry is offline
Registered User
  
 

Join Date: Nov 2001
Location: Hawaii
Posts: 79
nis plus on linux redhat

Hello all,

I wanted to know if any one had successfully install nis+ utils and use nis+ client on a linux (redhat) and have a Solaris nis+ server. I am able to install the client software on the linux and am able to see the nis+ tables. The passwd tables’ works file but the auto_master and auto_home does not work correctly. I know that linux use /etc/auto.home (note the "." dot) instead of the underscore on Solaris. I have pointed my nsswitch.conf file on linux client to show:

automount: files nisplus

Currently I would have to cat my nis auto_home table and redirect it to /etc/auto.home on the linux. This works but is not the idea of nis+. I have looked and have tried a lot of different things but nothing works. My last hope to it edit the /etc/init.d/autofs. It does not seem to look for nis+. Would I be wrong to change this? Any advice would be great. THANKS
  #2 (permalink)  
Old 08-01-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
What do you have in auto master?

I believe you should have an entry such as

/home nisplus auto_home
  #3 (permalink)  
Old 08-01-2003
larry larry is offline
Registered User
  
 

Join Date: Nov 2001
Location: Hawaii
Posts: 79
RTM,

This is on the client side right. When I make the change and reload autofs I get this:

Start /usr/sbin/automount /home yp nisplus auto_home

but it does not work when I su - to anyone I get cannot change to /home/larry: no such file or directory

larry
  #4 (permalink)  
Old 08-01-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Post what you have in /etc auto master. You probably need to remove the info you put into /etc auto home and return it to the correct information. Did you save what was in auto home before you started "cat my nis auto_home table and redirect it to /etc/auto.home "?
  #5 (permalink)  
Old 08-07-2003
larry larry is offline
Registered User
  
 

Join Date: Nov 2001
Location: Hawaii
Posts: 79
RTM,

This is from the client /etc/auto.master
[larry@liunx ~]$ more /etc/auto.master

# /misc /etc/auto.misc --timeout=60
#/home nisplus auto_home
/home /etc/auto.home
/opt /etc/auto.direct


This is the niscat command. To me this means that the system can see the nis+ tables.
[larry@linux ~]$ niscat auto_master.org_dir

/net -hosts
/home auto_home
/xfn -xfn
/- auto_direct

Here is my nsswitch.conf

....
automount: files nisplus
....

I did not save auto home before I cat nis+ table and redirect, because there was nothing in it. When I started there was no entries in the auto master file nor the auto home file. I basicly started from nothing. THANKS
  #6 (permalink)  
Old 08-07-2003
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try changing /etc/auto.home to have one entry such as:

* -fstype=nfs,soft,intr,rsize=8192,wsize=8192,nosuid server.example.com:/home
  #7 (permalink)  
Old 08-07-2003
larry larry is offline
Registered User
  
 

Join Date: Nov 2001
Location: Hawaii
Posts: 79
Red face

RTM,
Thanks for your answer but, I was trying to have the system look at the nis+ tables. I didn't want to use the /etc/auto.home file.
Closed Thread

Bookmarks

Tags
linux, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 05:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0