On my Centos7 Server I have different shells for my users.
For example the terminal as root looks like:
[[email protected] www]#.
The terminal as a different user looks like
If I type
echo $0 to get the currently used shell I get
/bin/bash on my different user and
-bash on my root.
Do I have to configure the shell for my different user to make it looks like the shell for my root?
Thanks for your help.
It sounds like your user is missing the skeleton files, the default
.bash_profile etc. which are normally copied into a user’s home directory from
/etc/skel when a user is created. You can copy these files yourself if they are missing or corrupted.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.