Recently, i downloaded brew and npm to my reinstalled macOS, and now i noticed, when i write "su" command and write my password, i am getting this:
My problem is, I want to get old su prompt, how can i get it?
I can't even remember what was it saying when i type su command. I don't know what to do, so i couldn't try anything.
I've searched and all i found is "this is root, it is ok". I can get it is root but i want to get old look. When i type "whoami" it says root.
Thanks for all help!
Sorry for all mistakes in my question
exit
and you'd be back to your actual user account. ezprompt.net and wiki.archlinux.org/index.php/Bash/Prompt_customization would help you a lot if you still want to customize the prompt. Basically what's happening is that the prompt for root account is different than the prompt for your user account. It can be customized though. Refer the links above for more help or info. – Manus.bashrc
in/root/
or typeexit
orCtrl-D
and you'd be back to your user account which has the old prompt. – ManusPS1="\h:\W \u$ "
and press enter. It'd showroot
instead ofoguzhanvarsak
as you are in root. This is temporary though. Follow /u/man0v 's advice to make it persistent. Its not recommended to stay in root all the time. Don't run downloaded scripts as root if you don't trust the source. – Manus