Bug 68695
| Summary: | gnome-terminal doesn't change title with su(1) to another user | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Public Beta | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | gnome-terminal | Assignee: | Havoc Pennington <hp> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | limbo | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-07-12 16:24:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Horst H. von Brand
2002-07-12 16:11:00 UTC
In this case it's likely bash setting the title using the value of $USER. My best guess is that you're not using "su -", so the value in the shell's environment remains unchanged, so $USER is your actual user name. Try using 'su -'. This should set $USER to "root", which should cause bash to print the correct prompt. gnome-terminal isn't setting the title, it's your shell. Nalin's advice should work. |