1833128 Members
3199 Online
110051 Solutions
New Discussion

login problem

 
Ravikant Bhagat
Occasional Advisor

login problem

HI All,

After giving username on the 'login' prompt , it is taking more time to give 'password' prompt.
Please guide us....

Thanks & regards,
Ravikant Bhagat
7 REPLIES 7
Kwan Fong, Emile
Honored Contributor

Re: login problem

Hello,

To be serviced quickly, please always provide the OS platform (HP-UX, MPE, Windows, etc) and the OS release version.
King is the customer!
Ravikant Bhagat
Occasional Advisor

Re: login problem

Os HP-UX B.11.11

SSH version :

Secure_Shell A.04.00.000 HP-UX Secure Shell
openssl A.00.09.07e.012 Secure Network Communications Protocol

when i tried to check the ssh port it is giving follwoing result.

c:\> telnet hostname 22
o/p SSH-2.0-OpenSSH_4.1
it is showing working fine...

We have putty.exe tool thriugh which we are doing ssh to the unix boxes.

login prompt is coming very soon, but after giving the username on the prompt, it will take atleast 2 mins.to come the 'Password' prompt.

After that everything is through prperly.

Please guide us...

Thanks & regards,

Ravikant Bhagat.







Kwan Fong, Emile
Honored Contributor

Re: login problem

Hi,

You have posted it to the wrong room; this is the MPE room. I'll forward your thread to the HP-UX room.
King is the customer!
spex
Honored Contributor

Re: login problem

Hi,

1) Run 'pwck' and post output.
2) Post /etc/nsswitch.conf.

PCS
Jonathan Fife
Honored Contributor

Re: login problem

Ssh will actually prompt you for the login locally and then send that information to the host and reply back with a password prompt. Once you are connected, is communication quick or is the host taking a while to respond to everything? If everything is slow that would point to general network congestion.

Sometimes if DNS is having an issue it will take a while to time out on resolving host names -- this is often the problem with initial connection slowness, but once that is over with most commands return quickly. Once you are connected, can you perfom nslookup's on some hosts and see if it returns or times out?
Decay is inherent in all compounded things. Strive on with diligence
Borislav Perkov
Respected Contributor

Re: login problem

Hi,
It is DNS problem. I had same problems.
Check the DNS servers.
Regards,
Borislav
Ravikant Bhagat
Occasional Advisor

Re: login problem

o/p for the follwoing command:

prxap202:/# pwck

smbnull:*:101:101:DO NOT USE OR DELETE - needed by Samba:/home/smbnull:/sbin/sh
Login directory not found

webadmin:*:40:1::/usr/obam/server/nologindir:/usr/bin/false
Login directory not found

iwww:*:102:1::/home/iwww:/sbin/sh
Login directory not found

owww:*:103:1::/home/owww:/sbin/sh
Login directory not found

mysql:*:104:102::/home/mysql:/sbin/sh
Login directory not found

hrushi:*:106:20:,,,:/home/hrushi:/usr/bin/sh
Login directory not found
prxap202:/# cd /etc
prxap202:/etc# cd nsswitch.conf
sh: nsswitch.conf: The specified path name is not a directory.
prxap202:/etc# more nsswitch.conf
passwd: files
group: files
hosts: files [NOTFOUND=continue] dns
ipnodes: files
networks: files
protocols: files
rpc: files
publickey: files
netgroup: files
automount: files
aliases: files
services: files
prxap202:/etc#

anything we need to do something with inetd.sec file for the authentication. as we are first doing RDP to one windows server and then we do the ssh to unix servers through putty tool.
pls help us