Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Solaris 10 - 'ls' green for root user only

$
0
0
Welcome to all.

Have an issue and looking for help so hope someone is able to give me some clues.

I prepared some shell scripts with coloured output to help other guys to have more automated task. Not sure if I did this but now whenever I use 'ls' command for root user every output in terminal stays green. I can of course give 'tput sgr0' and make it black again but it will come back once 'ls' command is used. This happens only for root user. I checked env variables (TERM=vt100) to see if there is something in there - nothing. I compared them with users vars - nothing. I checked .profile and .bashrc of root user - nothing. There is nothing in aliases as well. Only 'ls -F' and looks like ls does not support --color option.

Anything else can I check?

Viewing all articles
Browse latest Browse all 16232

Trending Articles