I want to make zsh my default shell.
When I run the command less /etc/shells, I get the following output.
/sbin/nologin
/bin/dash
/bin/zsh
1) However, when I run the following command chsh --shell /usr/bin/zsh
I get the following output
chsh: chsh: your shell is not in /etc/shells, shell change denied: Permission denied.
2) Running the command as root returns the same result.
3) Running chsh --shell /bin/zsh - also returns the same result
I also tried changing the shell variable using:
4) export SHELL=$SHELL:/usr/bin/zsh : and then logging out and back in
After logging in I get the bash promp againt.
Entering zsh at the command line will get put me into zsh, so zsh is definately installed, but how do I set it up as the default shell?
Any help would be greatly appreciated.