SUNMMARY: NIS + login failure on single client

From: dxmayer@regence.com
Date: Mon Apr 12 2004 - 18:38:40 EDT


Well, the resolution was unexpected, but not unreasonable. I did a truss
-p on the telnet connection to curly, and noted the opening of
/var/adm/wtmpx. I cleared out the contents of this file, and oradmin was
now able to login and be su'd to. There must have been some corruption in
a wtmpx entry relating to the user oramin. Basically, it was UNIX problem,
versus a NIS + problem.

Thanks to all for the suggestions on possible resolutions. I appreciate
it.

ORIGINAL MESSAGE

I am having a problem where a NIS + user (oradmin) cannot log into a NIS +
machine (curly). I can, however, su - oradmin if I am root. When I
telnet to the client and enter the username/passwd, the response is :
Login incorrect.

When I su - oradmin while logged into curly as myself (a NIS + user) the
response is: su: Sorry.

This is the only machine in the network that will not allow oradmin to
login.

In an attempt to resolve the problem, I have done the following...

1. Removed/re-added user and machine credentials into cred table, using
nisaddcred command
2. Updated passwd on NIS + Master, and performed chkey -p when logged in
as oradmin
3. Checked nisdefalts on curly for root and for oradmin. Both are
authenticated (Getting desperate)
4. Performed keylogout and keylogin
5. Removed /var/nis/* and /etc/.rootkey, and stopped nis_cachemgr from
client, and performed nisclient
6. Removed and added user and machine from NIS + Master (desperation has
fully set in by now)

So, by now I am completely stumped. I still get same results as above when
I try to log into curly with oradmin.
Any suggestions would be appreciated.

Donald Mayers
UNIX Management
The Regence Group
Voice:503-225-6769
Email:dxmayer@regence.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:26 EDT