I've got a nice PS1 prompt that I want to only be used when user 'gatty' uses su for root.
PS1='\[\e[32m\]#\[\e[37m\] '
When other users like 'george' etc login, I want them to get the standard PS1 instead of 'gattys'.
Is this possible, how would I go about doing this?
Thanks!