Can't login anymore, "Login Failed"

Well…that would also cause a problem…

Oh, how do I check my shell? Because I did change that now that you mentioned it!

I switched from ZSH to fish yesterday. If that could have broken something.

Take a look in /etc/passwd and see if your user is there.

To check your shell try this:

cat /etc/passwd | grep atbios | awk -F ':' '{print $1" - "$7}'    
1 Like

If the path to your shell is wrong, you can change it with usermod. For example:

sudo usermod -s /bin/bash atbios
1 Like

$ cat /etc/passwd | grep atbios | awk -F ‘:’ ‘{print $1" - "$7}’
$

2 Likes

I did this and it is false! It says

atbios - /bin/zsh

So that is def. false. Especially as I removed zsh yesterday. :frowning:

That is probably the problem, your shell is set to zsh but you uninstalled it.

You can’t search for atbios, you have to use your username :wink:

1 Like

Yep. I will thought I updated it, but looks like I might have forgotten. I will try to change it and see.

$ cat /etc/passwd | grep judd | awk -F ‘:’ ‘{print $1" - "$7}’
judd - /bin/bash

2 Likes

This fixed it! :slight_smile: Thanks a million for the help! It was the shell that was wrong, once I changed that and restarted my PC I no longer had any problems logging in! :slight_smile:

3 Likes

Nice! Glad you are up and running again.

5 Likes

I already clicked the answer with the shell change as “Solution” do I also need to do something else to mark it as solved? :slight_smile: