System Administration Commands chk_encodings(1M)
NAME
chk_encodings - check the label encodings file syntax
SYNOPSIS
/usr/sbin/chk_encodings [-a] [-c maxclass] [pathname]
DESCRIPTION
chk_encodings checks the syntax of the label-encodings file
that is specified by pathname. With the -a option,
chk_encodings also prints a semantic analysis of the label-
encodings file that is specified by pathname. If pathname isnot specified, chk_encodings checks and analyzes the
/etc/security/tsol/label_encodings file.
If label-encodings file analysis was requested, whatever
analysis can be provided is written to the standard output file even if errors were found. OPTIONS-a Provide a semantic analysis of the label
encodings file.-c maxclass Accept a maximum classification value of max-
class (default 255) in the label encodings file CLASSIFICATIONS section. EXIT STATUSWhen successful, chk_encodings returns an exit status of 0
(true) and writes to the standard output file a confirmation that no errors were found in pathname. Otherwise,chk_encodings returns an exit status of nonzero (false) and
writes an error diagnostic to the standard output file. FILES/etc/security/tsol/label_encodings
The label encodings file contains the classification names, words, constraints, and values for the defined labels of this system.ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:SunOS 5.11 Last change: 20 Jul 2007 1
System Administration Commands chk_encodings(1M)
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| ____________________________|_____________________________|_
| Availability | system/trusted || ____________________________|_____________________________|_
| Interface Stability | See below. || ____________________________|_____________________________|_
| Standard | DDS-2600-6216-93, Compart-|
| | mented Mode Workstation| | | Labeling: Encodings Format,| | | September 1993 ||_____________________________|_____________________________|
The command output is Not-an-Interface. The command invoca-
tion is Committed for systems that implement the DIA MAC policy.SEE ALSO
label_encodings(4), attributes(5), labels(5)
How to Analyze and Verify the label_encodings File in
Solaris Trusted Extensions Label Administration NOTES The functionality described on this manual page is available only if the system is configured with Trusted Extensions. This file is part of the Defense Intelligence Agency (DIA) Mandatory Access Control (MAC) policy. This file might not be applicable to other MAC policies that might be developed for future releases of Solaris Trusted Extensions software.SunOS 5.11 Last change: 20 Jul 2007 2