Is it possible to change the profile of a terminal upon switching user in the same terminal?
Actually my goal is to change the terminal to a profile which indicates to me that it is a terminal as 'root' and that I better be very careful. Of course I am always very careful with root, and to improve that even more, I want to change the profile of the terminal so that it clearly shows to me that I'm currently using a terminal that has root-priviliges.
So for clarity: I don't want to make a shortcut to open a bash terminal with a certain profile, I am thinking of some edits to .bashrc which detects a user change and can switch to a profile.
Is this possible, and if yes, how? ;)