su - root isn't acting right
Using Fedora, and when I type in su - root, and enter my password, it returns the following:
-bash-4.2# No idea how to fix this. Thanks for any help! |
You only need to do "su -", not "su - root". The root is implied.
Anyway, what's the problem? root often has a different prompt than normal users, looks normal to me. |
What is wrong with it?
|
What you see is the default Bash prompt for the root user (indicated by the #-character, an unprivileged user by default has the prompt ending with $).
Seems to be OK to me. |
Wasn't like that before, no idea why it changed, or how I can change it back.
|
Change it back to what? What are you expecting it to look like?
You can use the environment variable PS1 to change your prompt to whatever you like. http://www.cyberciti.biz/tips/howto-...up-prompt.html |
All times are GMT -5. The time now is 12:15 AM. |