How to change user login shell to bash in Linux
Newly created users in Debian and Centos Linux will have the default shell "sh" as seen below:
Code:
$ echo $SHELL
/bin/sh
Only root user or a sudo enabled non-root user will be able to change shells.
The Linux command to change a user's login shell is "chsh".Code:
# chsh -s /bin/bash MYUSER