Linuxers shows you how to change the default shell of a user using chsh
You must have noticed that every time you open a terminal or login in a text console, you get a bash shell. And we don’t remember where was this option asked during the installation, right? The option for a shell is actually one of the user properties just like a user's home directory, password, full name etc. Using chsh command we can change our default shell.How to - Change the default shell of a user using chsh
You may be wondering where is this information stored anyway. You can find this info in the /etc/passwd file. The file is readable by everyone. The final attribute in every line is the default shell. As you can see this is /bin/bash in my case.