LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   passwd file (https://www.linuxquestions.org/questions/linux-newbie-8/passwd-file-4175588125/)

scottdp3 08-27-2016 12:59 PM

passwd file
 
How do I turn on colors for the passwd file when I am using vi? I have a couple of Linux systems and on some the passwd file is divided in colors in columns. On others systems the passwd file is in the terminal colors.

I want to know how to turn the colors on for passwd?

jpollard 08-27-2016 01:29 PM

Mine only turns on colors if I am editing read/write.

Otherwise it is monocrome.

The passwd file really shouldn't be edited by vi/vim.

Emerson 08-27-2016 01:52 PM

That's why we have vipw and vigr.

Mitt Green 08-27-2016 02:56 PM

Turn the colours off!


All times are GMT -5. The time now is 01:24 AM.