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.
You must be in the Security Administrator role in the global zone.
Edit the label_encodings file.
Use the Edit Encodings action. For details, see How to Create a label_encodings File.
Find the COLOR NAMES section.
COLOR NAMES: label= Admin_Low; color= #bdbdbd; ... label= Admin_High; color= #636363; |
Define a color for each classification.
In this example, the classification REGISTERED is assigned the color red. The NEED_TO_KNOW SYSADM classification is assigned the color blue.
label= REGISTERED; color= red; label= NEED TO KNOW; color= blue; |
(Optional) Define colors for individual compartment words.
To distinguish certain compartment words irrespective of the classification with which they are associated, assign a separate color to those words.
Determine the possible color names on your system.
The names are defined in a local color database. For more information, see the X11(5) man page in the /usr/openwin/share/man directory.
% grep Red /usr/openwin/lib/X11/rgb.txt ... 255 69 0 OrangeRed 219 112 147 PaleVioletRed ... 139 0 0 DarkRed |
Assign the color names.
word= EMGT; color= OrangeRed; |
(Optional) Define colors for labels.
In this example, the color MediumPurple4 is assigned to a label.
label= NEED TO KNOW SYSADM; color= MediumPurple4; |