On Thu, 2004-09-02 at 04:36, Anders Johansson wrote:
On Wed, 2004-09-01 at 18:53 -0400, Dan Jones wrote:
I'm running SuSE 9.1 Logging in is very slow. I'm not talking about X loading. Logging in prompts for a password. If I give an incorrect password, it takes about 2 or 3 seconds to tell me that. If I give a correct password, it takes literally 45 seconds to a minute to give me a command prompt. It doesn't matter where or how I'm logging in. Running 'su' from a shell gives the same delay. Running a program such as YaST, which requires the root password, gives the same delay. The delay occurs with either a normal user or root. It occurs with any shell (bash, zsh, csh, etc). I thought perhaps the issue might be with shadow passwords and so disabled them. No change. Any time I have to enter a password, there's a delay of close to a minute.
Any ideas or suggestions appreciated.
If you edit /etc/profile and put
set -x
as the first line, then when you log in on a text console each command bash executes will be printed before it is run. That way you'll be able to see exactly what happens and what takes so long
After doing this, there is the long pause while nothing appears on the screen, then about ten screens of output is dumped at once and I get my prompt.