Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Login incorrect or refused on this terminal

94 views
Skip to first unread message

Alex Poylisher

unread,
May 16, 2009, 8:34:51 AM5/16/09
to
After an unclean shutdown and restart, I am getting a 'Login incorrect or
refused on this terminal' for all users but root (immediately after a username
is supplied).

Removing and rebuilding pasword databases didn't help. Any ideas
appreciated.

--
Alex Poylisher
sher{at}komkon{dot}org

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

walt

unread,
May 16, 2009, 11:05:25 AM5/16/09
to
Alex Poylisher wrote:
> After an unclean shutdown and restart, I am getting a 'Login incorrect or
> refused on this terminal' for all users but root (immediately after a username
> is supplied).
>
> Removing and rebuilding pasword databases didn't help. Any ideas
> appreciated.

Have you tried logging in on any pseudo-terminal other than tty0? I get the
same error on tty0 because of the default settings in /etc/ttys, which set
tty0 as 'the console'.

Havard Eidnes

unread,
May 16, 2009, 12:25:35 PM5/16/09
to
> After an unclean shutdown and restart, I am getting a 'Login
> incorrect or refused on this terminal' for all users but root
> (immediately after a username is supplied).
>
> Removing and rebuilding pasword databases didn't help. Any
> ideas appreciated.

Check that /etc/pam.d/ exists and is appropriately populated.

Regards,

- Håvard

Hisashi T Fujinaka

unread,
May 16, 2009, 7:22:39 PM5/16/09
to
On Sat, 16 May 2009, Alex Poylisher wrote:

> After an unclean shutdown and restart, I am getting a 'Login incorrect or
> refused on this terminal' for all users but root (immediately after a username
> is supplied).
>
> Removing and rebuilding pasword databases didn't help. Any ideas
> appreciated.

Make sure your users don't use a shell that doesn't exist.

--
Hisashi T Fujinaka - ht...@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte

matthew sporleder

unread,
May 16, 2009, 9:47:40 PM5/16/09
to
On 5/16/09, walt <w41...@gmail.com> wrote:

> Alex Poylisher wrote:
>
> > After an unclean shutdown and restart, I am getting a 'Login incorrect or
> > refused on this terminal' for all users but root (immediately after a
> username
> > is supplied).
> >
> > Removing and rebuilding pasword databases didn't help. Any ideas
> > appreciated.
> >
>
> Have you tried logging in on any pseudo-terminal other than tty0? I get the
> same error on tty0 because of the default settings in /etc/ttys, which set
> tty0 as 'the console'.
>

I got this error when I removed /dev/console - is it possible that
yours got corrupted?

Alex Poylisher

unread,
May 16, 2009, 12:25:46 PM5/16/09
to
The problem went away after rebooting into single-user, touching
/etc/ttys and rebooting again into multi-user; still wondering why.

--
Alex Poylisher
sher{at}komkon{dot}org

On сб, тра 16, 2009 at 08:05:25 -0700, walt wrote:


> Alex Poylisher wrote:
>> After an unclean shutdown and restart, I am getting a 'Login incorrect or
>> refused on this terminal' for all users but root (immediately after a username
>> is supplied).
>>
>> Removing and rebuilding pasword databases didn't help. Any ideas
>> appreciated.
>

> Have you tried logging in on any pseudo-terminal other than tty0? I get the
> same error on tty0 because of the default settings in /etc/ttys, which set
> tty0 as 'the console'.
>
>
>

--

0 new messages