1754852 Members
5559 Online
108827 Solutions
New Discussion юеВ

Re: Login incorrect

 
Senthil Kumar .A_1
Honored Contributor

Login incorrect

Hi admins,

I'm currently in a NIS environment. A small glitch.

1) Able to login to root through telnet and able su - nisuser.

2) unable to login directly with a NIS user account , say's (Login incorrect).

3) a - checked NIS domain on client and server (fine).
b - checked on client using yppoll,ypwhich,ypmatch,ypcat,rpcinfo and even checked nssswitch, all lokks fine.

Please provide me a clue to start the troubleshooting in different perspective.

Points will be aptly awarded...

Thanx in advance
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
4 REPLIES 4
Vijaya Kumar_3
Respected Contributor

Re: Login incorrect

Do you able to view the user account using getent command.

getent passswd nisuser

Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Steve Steel
Honored Contributor

Re: Login incorrect

Hi


Check /etc/nsswitch.conf file
make sure there are NIS references in passwd: line.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Bharat Katkar
Honored Contributor

Re: Login incorrect

Yes ...i think steve has pointed it out.
Check /etc/nsswitch.conf file.
Shoudl contain NIS in the search order.
e.g.

passwd: files nisplus
group: files nisplus

Regards,
You need to know a lot to actually know how little you know
Senthil Kumar .A_1
Honored Contributor

Re: Login incorrect

Hi everyone,

Thanx for the inputs and you valuable time.


The issue was that, someone confihured the server as nis client, whereas it was already a trusted system. So i stoped the nis client daemons and untrusted the server first and started the nis client daemons.

I was able to successfully login afterwards as normal users without "login incorrect" error.

Used "/usr/lbin/tsconvert -r" to untrust the system.

Once again thanx for your valuable input guys..

:)
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)