If your search engine take you to this page, chances are you get used to use chsh
to change user’s shell. On Fedora (28 at least), chsh
is not available by default. You can install util-linux-user
according to this post to get the chsh
command.
However, there is another alternative which I didn’t even think of - use usermod
command.
Here’s how I did it to change to zsh
shell:
$ sudo usermod -s /usr/bin/zsh kenno
$ getent passwd kenno
kenno:x:1000:1000:Oh Kenno:/home/kenno:/usr/bin/zsh
Just log out and log back in. That’s it.