To minimize color-flashing, use color names or hexadecimal color values that you know have been specified for other applications. The default color values have been chosen with memory limitations for color in mind.
Before You Begin
You must be in the Security Administrator role in the global zone.
# cp label_encodings label_encodings.orig
# pfedit label_encodings
COLOR NAMES: label= Admin_Low; color= #bdbdbd; ... label= Admin_High; color= #636363;
In this example, the classification REGISTERED is assigned the color red. The NEED_TO_KNOW classification is assigned the color blue.
label= REGISTERED; color= red; label= NEED TO KNOW; color= blue;
To distinguish certain compartment words irrespective of the classification with which they are associated, assign a separate color to those words.
The names are defined in a local color database. For more information, see the X11(7) man page.
% grep Red /usr/share/X11/rgb.txt ... 255 69 0 OrangeRed 219 112 147 PaleVioletRed ... 139 0 0 DarkRed
For example, assign the color OrangeRed to the EMGT compartment:
word= EMGT; color= OrangeRed;
In this example, assign the color MediumPurple4 to the NEED TO KNOW label.
label= NEED TO KNOW; color= MediumPurple4;
Next Steps
Continue with How to Analyze and Verify the label_encodings File.