Want to change the default shell in Linux/Unix/MacOS? Try:
chsh -s /path/to/shell user
For example, set the shell to /usr/local/bin/zsh for user tom, enter:which zsh
chsh -s /usr/local/bin/zsh tom
For more information see Howto: Changing Linux Login Shell