chsh
chsh [options] [LOGIN]Options:
-h, --help display this help message and exit
-R, --root CHROOT_DIR directory to chroot into
-s, --shell SHELL new login shell for the user accountExamples
Section titled “Examples”Change default shell
Section titled “Change default shell”$ chsh -s /bin/zsh
Password:
Changing the login shell for <user>