View Full Version : [ubuntu] Slow password verification

December 13th, 2008, 11:02 PM
After booting, I sign in, slow verification. I run a sudo command, slow verification. I shutdown computer, slow verification.

I noticed a significant delay in the password verification. It takes like 3 seconds for it to verify the password.

It gets annoying since I type the password and hit Enter and start typing in stuff only to see that the prompt is waiting for the password to be verified.

What is causing this significant delay in Intrepid? Could it be the Private folder thing I created? Because this is the first time I created it to see how it worked. I doubt it is.

December 13th, 2008, 11:26 PM
Was verification ever fast for any action?

December 14th, 2008, 01:09 AM
Hello, did you read the post?

If you do not have an answer, do not reply.

December 14th, 2008, 01:38 AM
I actually think skunkbad was asking a genuine question...

December 14th, 2008, 02:02 AM
Okay, then, here my answer: Yes.

It takes less than 1 second. I can type in the password, hit Enter, type in the next command, and before I can hit Enter again, the password is already verified.

Not in Intrepid. What is causing this?

My current set up is no different from the previous. Only difference is the Private folder thing that is offered in Intrepid that I wanted to see how well it worked. Is there a way I can get rid of the Private folder thing for good to see if it is the cause of it?

December 14th, 2008, 07:49 PM
Could it be a DNS-related issue? Specifically, I'm wondering if the 3-second delay might be a timeout resulting from a failed reverse-lookup - perhaps done to populate a logfile entry and/or security check. That said, I would expect this delay to occur immediately after the initial login (and before the password) as there's little point in delaying such an event (and indeed some reasons why it wouldn't want to).

You could check this by running a packet sniffer (e.g. Wireshark) and seeing if there's any network traffic (DNS queries specifically) at the point of submitting your password.

It's a long shot, but in the absence of any other ideas...


December 14th, 2008, 10:27 PM
Have you tried putting the server name and ip address in /etc/hosts on the computer you are connecting from eg: locahost computername servername


December 15th, 2008, 01:50 AM
It was nothing network related since I just finished installing a clean server when I noticed the delay in password checks.

It was very obvious since I tried to sudo a command and started typing and tab-completion only to find out that part of the command was typed and tab-completion can not be used yet until the password check is finished.

I decided to do another clean server install, but without the Private folder thing. And yes, it was the cause of it.

December 15th, 2008, 08:09 AM
I actually think skunkbad was asking a genuine question...

Like many, I am here to help when I can.