When I ssh as root, my shell is bash
, but when it's a non-root user it is sh
. How can I make them both to use bash
?
This actually goes against the logic in this question: Why root's default shell is configured differently with other normal user account's default shell?
Linux – Different Shell for Root and Non-Root User
linuxshellsshusers
Best Answer
Please see
man usermod
.An example would be
sudo usermod -s /bin/bash username
.