1

Whenever I su, PS1 changes to \s-\v\$. Why is that? Tried setting it, but it still changes when I su again, or exit the terminal. What to do?

3
  • Try sudo su - instead of sudo su! – klanomath Jan 2 '16 at 8:29
  • Or sudo -s :-) – nohillside Jan 2 '16 at 10:18
  • Why would i want to sudo su? It's just switching users – ToniAz Jan 3 '16 at 21:24

You must log in to answer this question.

Browse other questions tagged .