nis plus on linux redhat


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers nis plus on linux redhat
# 1  
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  
What do you have in auto master?

I believe you should have an entry such as

/home nisplus auto_home
# 3  
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  
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  
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  
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  
Power

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.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #633
Difficulty: Medium
The touch and gesture features of the iPhone are based on technology originally developed by FingerWorks.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Difference Redhat Linux/RH Enterprise Linux

what is the difference between Redhat Linux and Redhat Enterprise Linux. whereas Redhat linux have Server installation options too. (2 Replies)
Discussion started by: hananabbas
2 Replies

2. UNIX for Dummies Questions & Answers

Migrate NIS Unix to Linux, possible ?

Hello, I'am working in a French school about a new project NIS. Actually, I have a NIS server wich works on SunOS 5.6 , version 1.8. There are about 100 machines connected over ( with NFS mount). I have to install a new NIS version 3.17 on Ubuntu LTS. Of the 100 existing machines, I want... (2 Replies)
Discussion started by: baramine1664
2 Replies

3. AIX

AIX NIS Client to Linux

Hi, I have a trouble with configure NIS Client on AIX, my NIS server is on a Linux machine. After configure, some old NIS account could login normally. However, after I create new account from NIS server, I could not login with the new account, but could only su to that account. And I could view... (20 Replies)
Discussion started by: aloneattack
20 Replies

4. UNIX for Advanced & Expert Users

NIS server setup on redhat 4 AS4

Please do reply if anyone has done NIS server setup on redhat Please let me know steps to do NIS server configuration on redhat & NIS client configuration on suse (2 Replies)
Discussion started by: timus1980
2 Replies

5. UNIX for Advanced & Expert Users

SUSE 9 and 10 NIS clients with RedHat 8.0 NIS server not working

We have a RedHat 8.0 NIS master, with a RedHat 8.0 NIS Slave. We also have a small number of SUSE 9.1 and SUSE 10 machines here for evaluation. However, no matter what i do, the SUSE machines will not talk to the NIS Servers. If i broadcast for NIS Servers for the specified NIS domain, it... (1 Reply)
Discussion started by: fishsponge
1 Replies

6. Linux

configure NIS in RedHat 9.0

Hi All i want to configure NIS on RedHat 9.0. pls help me i need the configure file pls mail this configure files with regards sudeendra (0 Replies)
Discussion started by: sudeendra
0 Replies

7. Red Hat

How to configure a Redhat 9.0 as NIS+ client

I would like to know how to configure a Redhat 9.0 as NIS+ client. I have seen the post of larry, but it is not enough information for me to do the configuration. Could anyone tell me how to do it? Please help! Thank you! (3 Replies)
Discussion started by: alexhon
3 Replies

8. UNIX for Dummies Questions & Answers

add linux to NIS (unix) domain

I've set up a NIS domain with unix as master-server, slave server and clients. right now i wish to add linux client to the NIS domain. the linux client has got username and password in it. how do i go about it? :confused: (1 Reply)
Discussion started by: legato
1 Replies

9. UNIX for Dummies Questions & Answers

linux redhat and solaris NIS+

Hello all, I am wondering if anyone had success with installing a redhat linux (PC box) on a Solaris NIS+ network. I have gotten information on how to do this but have been unsuccessful. The information that I have gotten is a little out dated and is not 100%. ... (0 Replies)
Discussion started by: larry
0 Replies

10. UNIX for Advanced & Expert Users

Solaris NIS+ and RedHat NIS+

Hello all, I'm not sure if this is the right forum, but I would like to know if Redhat running NIS ( not NIS +) would have conflict with Solaris running NIS+. Currently I am running NIS+ on Solaris but will be adding RedHat to the network. I seem to be unable to find and information regarding... (2 Replies)
Discussion started by: larry
2 Replies

Featured Tech Videos