linux login issue

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat linux login issue
# 1  
Old 08-22-2012
linux login issue

Dear all,

When ever i login to linux box through putty , it is taking a long time to log in .....approx 2 min

Kindly let me know any reason behind this....
# 2  
Old 08-22-2012
# 3  
Old 08-22-2012
Couple things could be happening:

1) The host could be having name resolution issues. You can verify this by testing DNS with "host yahoo.com" and seeing how fast it gets back to you and by testing user name resolution by seeing how long "getent passwd" takes to get back.

2) Putty could be trying Kerberos authentication, that can slow down how long it takes to get in. You'll usually see an "Access Denied" message before you put in your password if it's trying that.

3) If the delay happens after you've entered your username/password, it may be a filesystem delaying your entry into the home directory, I would see that's the case by doing a "df -h" once you get in.

I would also check /var/log/messages and /var/log/secure for the times around when you're logging into the machine to see if anything relevant is getting printed.
# 4  
Old 08-22-2012
Please post the Operating System and precise version of the client PC.

If this is a Microsoft Windows client, try making a correctly-formatted entry in the hosts file on the PC client.
The relevant file should be located at:
Code:
dir %windir%\system32\drivers\etc\hosts

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

SSH login issue

Dear All , recently i have configured sftp for a user for which i have done chroot. but after this , sftp is working fine . but ssh is not working when we connect to the server. When we try to ssh <user>@<server ip> , the below is the error message that we get and not able to login. ... (2 Replies)
Discussion started by: jegaraman
2 Replies

2. UNIX for Advanced & Expert Users

Intermitent issue with passwordless login

Hi, I have two users login on my HPUX i.e user1 and user2. Inorder to switch from user1 to user2 without password I generated key pair using keygen command for user id user1 and copied the its public key to the .ssh/authorized_keys file of user2. ssh-keygen -b 2048 -t rsa This... (5 Replies)
Discussion started by: mohtashims
5 Replies

3. Cybersecurity

SSH password-less login issue between linux and solaris

Hello Gurus, I am trying to set up bidirectional password-less login between a linux and a Solaris. The way I am doing is very simple, which is creating pub/priv key pairs on each host and add the pub key to each other's authorized_keys file: ssh-keygen -t rsa (I tried dsa, and it didn't work... (4 Replies)
Discussion started by: error_lee
4 Replies

4. Solaris

Login issue

Hello, I'm trying to setup my Solaris 10 servers to authenticate from a OpenLDAP server. I can get the Linux servers to authenticate from a OpenLDAP server, but not server the Solaris servers. Below I have posted some output so you can see my issue. <terminal output> -bash-3.00$ id... (5 Replies)
Discussion started by: bitlord
5 Replies

5. UNIX for Dummies Questions & Answers

sudo login issue

I logged in through ssh, but can't re-login as root. sudo login Arch login: root Password: Login incorrect Arch login: But I am sure my password is right. Why? But on local tty1, this works. (2 Replies)
Discussion started by: vistastar
2 Replies

6. Linux

Login issue

Hi, I have created one normal login id . When they have try to login then, They got error msg the permission denied. Please advice on this. Thanks, Mani (3 Replies)
Discussion started by: Mani_apr08
3 Replies

7. Linux

How to find remote Linux box login account without login in to that box?

Hi, How to find remote Linux box login account without login in to that box? I don't have login account at my remote Linux box. But I need who are all having login account. How do I findout? Thanks, --Muthu. (3 Replies)
Discussion started by: Muthuselvan
3 Replies

8. Solaris

login issue in solaris5.6

Hi, I have reset the account on solaris 5.6. After resetting, User unable to login and putty gets closed once enter the password. Please suggest ASAP..... Thanks in Advance (6 Replies)
Discussion started by: bpsunadm
6 Replies

9. Solaris

Login Issue

Hi, I am not able to login in the system as user.It is showing problem login as: User1 User1@10.xxx.xx.xx's password: Could not chdir to home directory /home/User1: No such file or directory Sun Microsystems Inc. SunOS 5.9 Generic May 2002 $ I have created the User1 and Its... (8 Replies)
Discussion started by: smartgupta
8 Replies

10. UNIX for Advanced & Expert Users

Unix Login Issue

Guys .. I got my user ID created in a production system of my organisation. the problem I got is my HOME directory in environment has been mis-spelt. Like: I should be logging into unix using ID: freakegs My home directory should be : /users/freakygs and echo $HOME should also... (1 Reply)
Discussion started by: freakygs
1 Replies
Login or Register to Ask a Question