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 -sgetting 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
