svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
chk_encodings(8)
System Administration Commands chk_encodings(8)
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 is not specified, chk_encodings checks and ana‐
lyzes 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 maxclass
(default 255) in the label encodings file CLASSIFICA‐
TIONS section.
EXIT STATUS
When 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(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/file_labeling _ Interface Stability‐
See below. _ StandardT{ DDS-2600-6216-93, Compartmented Mode Worksta‐
tion Labeling: Encodings Format, September 1993 T}
The command output is Not-an-Interface. The command invocation is Com‐
mitted for systems that implement the DIA MAC policy.
SEE ALSO
label_encodings(5), attributes(7), labels(7)
Trusted Extensions Configuration and Administration
NOTES
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.
Oracle Solaris 11.4 21 Jun 2021 chk_encodings(8)