M BUZZ CRAZE NEWS
// general

I Can't Change my Default Interactive Shell from bash to zsh

By Jessica Wood

Basically I want to change from bash to zsh so I ran the command

chsh -s /bin/zsh

It then asks me for my password to change the shell but when I enter it it says

chsh: no changes made

How do I proceed from here?

2

1 Answer

Since changing your shell requires updating /etc/passwd, it must be done by root. Use

sudo chsh -s /bin/zsh $USER

Also make sure /bin/zsh is listed in /etc/shells.

Just in case, login (with the old, working shell) in a text terminal (Ctrl-Alt-F2) while you chsh and logout/login via the GUI, in case you need to fix something.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy