- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NIS login not working
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
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
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
02-07-2012 05:54 PM
02-07-2012 05:54 PM
NIS login not working
Hi,
I'm trying to figure out why I can't log into an HP-UX system where the user ID and password are obtained from NIS. I get "Login incorrect" when I try. I'm able to log in as root, though. I have no problem logging in from a Linux system. Things seem set up correctly; "ypcat passwd" gives me the exact same output on both the HP-UX and Linux systems (as I expect), nsswitch.conf says "passwd compat", /etc/passwd ends in +::::::, ypwhich gives me the results I expect. Right now I can't figure out how to debug this, what to look for, how to get some diagnostic output that might tell me what it's trying to send the NIS server and what the response is. The system does seem to understand the user name; after I log in as root I can use "su <username>" which works fine (it doesn't ask for a password). But it can't seem to recognize the password at all. Thank you for any suggestions.
- Tags:
- NIS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2012 07:35 PM
02-07-2012 07:35 PM
Re: NIS login not working
>where the user ID and password are obtained from NIS.
The password doesn't happen to contain the illegal "#" and "@" characters, does it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2012 09:31 AM
02-08-2012 09:31 AM
Re: NIS login not working
No, there are no special characters in the password.
One piece of info I forgot to include: The login used to work fine. The NIS server was on an old Red Hat Linux machine. That machine went home to the Great Computer in the Sky while the HP-UX system was turned off, and the NIS server got moved to another (Fedora Linux) system. When the HP machine was turned back on, the logins no longer worked. Something didn't get configured or reconfigured properly on one or the other machine, but I don't know how to get information displayed so that I can tell where things are going wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2012 12:25 PM
02-08-2012 12:25 PM
Re: NIS login not working
>When the HP machine was turned back on, the logins no longer worked.
I've had cases where I have to stop and restart NIS because it doesn't resolve the IDs to names. But you said ypcat works.
You could try it anyway?
/sbin/init.d/nis.client stop
/sbin/init.d/nis.client start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2012 02:10 PM
02-08-2012 02:10 PM
Re: NIS login not working
# /sbin/init.d/nis.client stop stopping ypbind stopping keyserv # /sbin/init.d/nis.client start starting NIS CLIENT networking starting up the rpcbind rpcbind already started, using pid: 795 domainname zzzz.com starting up the Network Information Service starting up the ypbind daemon /usr/lib/netsvc/yp/ypbind Checking NIS binding. Bound to NIS server using domain zzzz.com. starting up the keyserv daemon /usr/sbin/keyserv
This didn't fix it.