Unable to change default shell

I’m using the latest manjaro gnome.

cat /etc/shells
Pathnames of valid login shells.
See shells(5) for details.

/bin/sh
/bin/bash
/bin/zsh
/usr/bin/zsh
/usr/bin/git-shell
sudo chsh -s /bin/bash
[sudo] password for radu: 
Changing shell for root.
chsh: Shell not changed.

What I notice is that it tries to change the shell for root, while I am logged in as radu.

Dont use sudo if you want to change shell for your user. Use either of these commands:

chsh -s /bin/bash #while logged in as radu
or
chsh -s /bin/bash radu #while logged in as root
3 Likes

Thank you. That was it.

Just an additional note - for others which may seek up this solution.

If you are using Konsole (KDE Plasma) as your virtual terminal applicaition - you may need to create a new profile to be able to use the desired shell.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.