Mailinglist Archive: opensuse (3996 mails)
| < Previous | Next > |
Re: [SLE] Login delay
- From: Anders Johansson <andjoh@xxxxxxxxxx>
- Date: Thu, 02 Sep 2004 13:40:12 +0200
- Message-id: <1094125212.15457.12.camel@xxxxxxxxxxxxxxxxx>
On Thu, 2004-09-02 at 07:18 -0400, Dan Jones wrote:
> 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.
>
So it takes a long time for bash to even start. If you run "bash --
login" from a prompt, does that take a long time too? Is there much
swapping going on on the system? Are things slow to start in general, or
is it just logging in?
What do you have in /etc/pam.d/login?
> 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.
>
So it takes a long time for bash to even start. If you run "bash --
login" from a prompt, does that take a long time too? Is there much
swapping going on on the system? Are things slow to start in general, or
is it just logging in?
What do you have in /etc/pam.d/login?
| < Previous | Next > |