Are there any security concerns? What is the best way to enable it?
migrated from serverfault.com Apr 6 '11 at 14:03
Well, the best (IMHO) way to enable it is editing /root/.bashrc and uncomment the following lines:
If you want to apply the changes, type the following in your home directory:
I can't imagine any security concerns. My guess is that, from a Debian point of view, people are not supposed to work as root anyhow, so there is no point in having anything but the most spartan setup.
If you just want colors for ls, this is one of many ways to enable it:
You could also enable colors, permanently or temporary, the way Random832 suggests.
In Wheezy (Debian 7) I would rather make all colors appear (not just for single command) uncommenting the line
in an user directory and then copying all color-related code from the line starting with
down to just before the end of the file.
By the way, ~/.bashrc is really well commented. According to it color is
Personally, I find it hard to read the outputs without color...