Man Pages (1MTSOL): Maintenance and Administration Commands
  Cerca solo questo libro
Scarica il manuale in formato PDF

NAME

chk_encodings - Check label-encodings file syntax

SYNOPSIS

/usr/sbin/chk_encodings [ -a ] [ -c maxclass ] [ pathname ]

AVAILABILITY

SUNWtsolu

DESCRIPTION

chk_encodings checks the syntax of the label-encodings file specified by pathname; with the -a option, chk_encodings also prints a semantic analysis of the label-encodings file specified by pathname. If pathname is not specified, chk_encodings checks and analyzes /etc/security/tsol/label_encodings.
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 CLASSIFICATIONS section.

ERRORS

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 containing the CLASSIFICATIONS, WORDS ,constraints, and values for the defined labels of this system

SEE ALSO

label_encodings(4TSOL)
Trusted Solaris administrator's document set