Answer the question
In order to leave comments, you need to log in
Terminal highlighting via SSH?
Same server, different users. Why doesn't the bottom user have a terminal highlight?
Ubuntu 10.04LTS.
root's
bashrc second user 's bashrc
Answer the question
In order to leave comments, you need to log in
Add to ~/.bashrc
export PS1='\[\033[01;31m\]\u\[\033[01;33m\]@\[\033[01;36m\]\h \[\033[01;33m\]\w \[\033[01;35m\]\$ \[\033[00m\]'
And it will be as you want
because the second user in /etc/passwd needs to specify bash as a terminal, not sh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question