Root sign has been changed?
1 Attachment(s)
When i logged in as a root,generally it should be show me # sign, but somehow it has been changed and showing $ sign as a root privilege.
|
You have not posted the output as requested for this issue under the following thread: http://www.linuxquestions.org/questi...er-4175539330/
|
The prompt is specified by the PS1 variable. This in turn is typically set in the .bashrc.
You presumably want something like this Code:
PS1='[\u@\h:\w]# ' |
Thanks a lot guys, specially @joe.
|
Quote:
|
You can put this code in /root/.bashrc file or /root/.bash_profile file to make it permanent.
|
All times are GMT -5. The time now is 01:25 AM. |