- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rh linux more nis adding users
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 06:49 AM
тАО11-03-2003 06:49 AM
I have a red hat server, which I set up as a nis master, and I have this sun client, which I set as a client.
I added a user on the Master, and ran the make -C /var/yp which went through and created the maps again. On the sun side, I can do a ypcat passwd and see the id, however when I login to the sun client, I am not able to login.
I do have nis in my nsswitch.conf for passwd, and group, as well as the + in the /etc/passwd file. Am i not doing something else I should be?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 07:28 AM
тАО11-03-2003 07:28 AM
Re: rh linux more nis adding users
It sounds like there is a problem getting the NIS Master information onto that Sun client. I would suggest watching the Sun logs during the ypcat/yppush to see whats going on.
tail -f logfilename
As to asking too many questions. The more the merrier. So long as others useful answers get point assignment there is no reason to feel embarassed about posting questions. None at all. Did you ever hear the one where the only stupid question is the one not asked?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 08:15 AM
тАО11-03-2003 08:15 AM
Re: rh linux more nis adding users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 11:33 PM
тАО11-03-2003 11:33 PM
Re: rh linux more nis adding users
I have the nsswitch.conf doing files nis.
But when I log on the client, I am unable to log in, I did some checking on logs and I dont see anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2003 11:37 PM
тАО11-03-2003 11:37 PM
Re: rh linux more nis adding users
ypserv[1645]: refused connect from 10.9.28.249:59811 to procedure ypproc_match
Which is the client IP, so something on the client is not allowing me to connect or log in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 01:16 AM
тАО11-04-2003 01:16 AM
Re: rh linux more nis adding users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 01:22 AM
тАО11-04-2003 01:22 AM
Re: rh linux more nis adding users
Check your /etc/nsswitch.conf. Did you change it or are you using the default. The default will contain nisplus after the files. Remove nisplus from the entries like
passwd: files nis
shadow: files
group: files nis
hosts: files nis dns
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 04:54 AM
тАО11-04-2003 04:54 AM
Re: rh linux more nis adding users
Well here is my rpcinfo:
program vers proto port service
100000 2 tcp 111 rpcbind
100000 2 udp 111 rpcbind
100024 1 udp 32768 status
100024 1 tcp 32768 status
100004 2 udp 975 ypserv
100004 1 udp 975 ypserv
100004 2 tcp 978 ypserv
100004 1 tcp 978 ypserv
600100069 1 udp 984
600100069 1 tcp 986
391002 2 tcp 32769
100009 1 udp 636 yppasswdd
100007 2 udp 900 ypbind
100007 1 udp 900 ypbind
100007 2 tcp 903 ypbind
100007 1 tcp 903 ypbind
Maybe I am doign something wrong, here, I am tring to log in as just a user id, I created the ID on the Linux master, and my nsswitch.conf does have files nis for passwd, shadow, group, and the hosts set, ok, from what I see. However if I try to log onto the sun, I just am unable to log on to it. It knows its domain, and nis server, and i can ypcat to see the id.
I did restart everthing, but still nonthign.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 07:31 AM
тАО11-04-2003 07:31 AM
Re: rh linux more nis adding users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 07:41 AM
тАО11-04-2003 07:41 AM
Re: rh linux more nis adding users
I did a ifconfig on the card, and it shows me ipv4....
This really bugs me, cause doign rpcinfo seems to bring back the correct information, ypcat shows the id, I made sure the firewall was actually off on the linux, is there maybe another security setting that I can shutdown, or check on.
I can see if I was getting home dir issues, but I cant even get it to log in. I did log on the master checking but I can not log to the sun client. boy this one is odd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 07:56 AM
тАО11-04-2003 07:56 AM
Re: rh linux more nis adding users
If I can recap:
on the Solaris 8 client.
nsswitch
passwd, hosts, shadow, group
file nis
ypbind is running, rpcinfo -p shows
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100007 3 udp 61299 ypbind
100007 2 udp 61299 ypbind
100007 1 udp 61299 ypbind
100007 3 tcp 52501 ypbind
100007 2 tcp 52501 ypbind
100007 1 tcp 52501 ypbind
ypcat passwd shows id of in passwd
ypwhich points to correct master.
RH9
Master:
rpcinfo :
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
100004 2 udp 976 ypserv
100004 1 udp 976 ypserv
100004 2 tcp 979 ypserv
100004 1 tcp 979 ypserv
600100069 1 udp 985 fypxfrd
600100069 1 tcp 987 fypxfrd
391002 2 tcp 32769 sgi_fam
100009 1 udp 658 yppasswdd
100007 2 udp 617 ypbind
100007 1 udp 617 ypbind
100007 2 tcp 620 ypbind
100007 1 tcp 620 ypbind
added a user using useradd
ran make -C /var/yp
it ran ok.
tried to log on the solaris as user.
unable to log in.
On master, did a yppasswd on user
changed passwd
still nonthing.
anything else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 08:33 AM
тАО11-04-2003 08:33 AM
Re: rh linux more nis adding users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2003 11:33 PM
тАО11-04-2003 11:33 PM
Re: rh linux more nis adding users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 01:31 AM
тАО11-05-2003 01:31 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 04:54 AM
тАО11-05-2003 04:54 AM
Re: rh linux more nis adding users
I do appreciate all your time and help. That file is not there, I created it for giggles, and
Made it just 0.0.0.0 like in the example config to make it wide open.
At this point I am stumped. It seems like everything is correct, even finding the passwd entry, I just wander if its some setting either in security preventing a user from loggin on a host. I did shut off the firewall option on the Linux.
At this time, I think I am blank on what else to try, sure seems odd.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 05:06 AM
тАО11-05-2003 05:06 AM
Re: rh linux more nis adding users
I did ask you aboaut hosts.allow file, did you get a chance to check on both server. If there are entries in their could you list it. If not then make sure hosts.deny is empty. I know sshd uses tcpwrapper and it's configure via the above two file. This is it, I am running out of idea as well. Now I'm very interested on the cause of this problem. If you ever got it resolve, please post it here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2003 05:11 AM
тАО11-05-2003 05:11 AM
Re: rh linux more nis adding users
I did check, and on the linux side, its just empty, and on the sun side, it is not there.
I will post more as I get more, I am going to try and get another system to use if possible, to try and i guess eliminate everthing.
scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-13-2004 06:33 AM
тАО02-13-2004 06:33 AM
Re: rh linux more nis adding users
Dennis