You are not logged in.

#1 2013-06-12 16:30:45

jsteel
Trusted User (TU)
From: England
Registered: 2008-03-18
Posts: 115

[solved] Password no longer works at tty, but does work elsewhere

Hi,

The other day I could no longer log in to a tty; "Login incorrect", but other users are fine. You're probably thinking I forgot my password, but I can confirm it is correct as I can log in as "user2", "su - jsteel", enter the password and it accepts it! After doing that I can run passwd (it asks for my current password) and it accepts it there too. I have not proceeded to change my password (which may well fix the issue) as I am interested to investigate what the problem is exactly.

Does anyone have any idea what could be wrong?

Thanks

Last edited by jsteel (2013-06-18 22:08:28)


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#2 2013-06-12 16:35:56

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,700
Website

Re: [solved] Password no longer works at tty, but does work elsewhere

I don't have any great leads, but one test I'd try is to set up autologin in the getty.service.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#3 2013-06-12 16:50:13

karol
Archivist
Registered: 2009-05-06
Posts: 25,427

Re: [solved] Password no longer works at tty, but does work elsewhere

Check your /etc/shells.

Offline

#4 2013-06-12 17:21:16

jsteel
Trusted User (TU)
From: England
Registered: 2008-03-18
Posts: 115

Re: [solved] Password no longer works at tty, but does work elsewhere

/etc/shells showed /usr/bin/zsh whereas my $SHELL was set to /bin/zsh. Updating my shell to /usr/bin/zsh fixed the issue! I guess it didn't like the symlink, I wonder why.


PGP key: F40D2072
Key fingerprint: 8742 F753 5E7B 394A 1B04  8163 332C 9C40 F40D 2072

Offline

#5 2013-06-12 17:24:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,427

Re: [solved] Password no longer works at tty, but does work elsewhere

Offline

Board footer

Powered by FluxBB