Operating System - HP-UX
1833758 Members
2021 Online
110063 Solutions
New Discussion

Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

 
Ron Kunzi
Occasional Contributor

Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

Have a HP J282 workstation that I just completed a cold install of HP-UX 11.0. This CD is a September 2002 version. I can't figure out why I cannot rlogin or telnet to this client. I have checked /etc/hosts, /etc/nsswitch.conf, /etc/passwd.

It seems like its something to do with NIS. Anyone have any clues to what is going on. Thanks in advance.
5 REPLIES 5
S.K. Chan
Honored Contributor

Re: Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

Is /etc/rc.config.d/namesvrs setup correctly, especially the NIS_DOMAIN value ? This info is entered during the installation. What about other files like /etc/group (the last line is normally set to +:) ?
Pete Randall
Outstanding Contributor

Re: Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

Do you have /etc/hosts.equiv set up properly (though I wouldn't think that would affect telnet)?


Pete

Pete
Ron Kunzi
Occasional Contributor

Re: Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

Found more info on this client host:

From the /var/adm/rc.log

starting up the Network Information Service
starting up the ypbind daemon
/usr/lib/netsvc/yp/ypbind
calling ypset with
Sorry, ypbind on host has rejected your request.
Ron Kinner
Honored Contributor

Re: Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

Sounds like your IP address is not in the server's hosts database.

Verify that you have the ip address associated with the name of the new client in your /etc/hosts file and then run:
ypmake hosts

See if that helps.

You can also run the ypserv with a -l logfile option and it will tell you why it doesn't like the new client.

Ron
Ron Kunzi
Occasional Contributor

Re: Cannot rlogin into NIS client -after installing HP-UX 11.0 9/2002

The problem has been resolved. The /etc/nsswitch.conf file had the following line

passwd: files.

I modified the line to be:

passwd: compat

What I discovered is that with the files designation it is looking for my username in the local passwd file not the NIS passwd file.
This is true even if the local passwd file has the +::0:0::: at the bottom of the file.

Thanks to all who responded.