From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020625 Description of problem: When su(1)ing to root in a gnome-terminal, its title doesn't change to reflect the new user Version-Release number of selected component (if applicable): gnome-terminal-2.0.0-3 How reproducible: Always Steps to Reproduce: 1.su - root 2. 3. Actual Results: Title doesn't change Expected Results: New title reflecting the new user Additional info: Thank you all very much!
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.