I Can't Change My Default Interactive Shell from Bash to Zsh
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...
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?
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.