You are not logged in.

#1 2019-07-27 08:51:17

forgetmenot
Member
Registered: 2018-09-19
Posts: 27

[SOLVED] Can't login using my password after the shell is changed

Hello. Currently /bin/bash is the default shell set for my user account (default-user). But I want to change it to the fish shell, so I issue command

sudo usermod default-user -s /bin/fish

and after I do that, I become unable to login into my account, the prompt says 'Login incorrect' as if the supplied password is incorrect (although I did not change the password for my account). But when I change the shell back to /bin/bash, I'm able to login as default-user again using the same password. What do I do?

Last edited by forgetmenot (2019-07-27 09:08:20)

Offline

#2 2019-07-27 09:02:02

forgetmenot
Member
Registered: 2018-09-19
Posts: 27

Re: [SOLVED] Can't login using my password after the shell is changed

It seems that I was able to fix it. I used the chsh utility, which told me that /bin/fish is not in my /etc/shells file, but /usr/bin/fish is. So I changed the shell to /usr/bin/fish and now I can log in as default-user again (with /usr/bin/fish as my shell).

Last edited by forgetmenot (2019-07-27 09:12:41)

Offline

Board footer

Powered by FluxBB