How I can change the prompt for `sudo` after executing `sudo -s` in Red Hat Enterprise Linux ?
Issue
- After logging in as Normal user in Red Hat Enterprise Linux 6 machine, and executing
sudo -s
getting the promptroot($host) <(pwd)
. - The desired prompt should be
SUPERUSER($host) <(pwd)
Environment
- Red Hat Enterprise Linux 6.4
- sudo-1.8.6p3-7.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.