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?
|
|
|
Please see An example would be |
||||
|
|
|
As far as I know your default shell is defined in |
|||
|
The command You will need to enter your password (not root) to change your shell, unless you are root, in which case no password is needed and you can set any program to be used as a user's shell (ignoring |
|||
|
|
|
You can do this either while creating the user with the option Hope it will help you. |
||||
|
|
