KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/share/setools/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/share/setools/sechecker_help.txt
SELinux Policy Checker Tool Help File
sechecker, version 3.0
October 1, 2006
selinux@tresys.com

This file contains the basic help information for using sechecker,
version 3.0.  This version of sechecker allows you to run a series of
policy checks (modules) on a policy.  Sechecker is designed to be
extensible and configurable so that developers can easily add new
policy checks and configure them to run in batches with different
options.

Each module analyzes a policy.  If you do not specify a policy on the
command line, the tool uses the system policy by default.  In
addition, some checks will require the file_contexts file in order to
run correctly.  If you do not specify the file_contexts file the tool
will use the system file_contexts file by default.

Checks can be run one at a time on the command line (by specifying a
module) or in a batch (by specifying a profile).  You can create a
custom profile to configure a batch of modules with the options that
you commonly use.

The return value of sechecker indicates whether a check failed on the
policy.  Therefore sechecker may be used in shell scripts or makefiles
to do conditional branching.


Report Output:
--------------
Sechecker generates a report with the output of each module that was
run.  The report includes an explanation of each module, the modules'
severity, and the modules' results.  There are three output options to
specify what gets included in the report.

1.) quiet - don't print the report
2.) short - print the list of results for each module
3.) verbose - print the list of results for each module and the list of 
    proofs for each result


Modules:
--------
A module encapsulates a single check on the policy.  Modules can be
data driven by information specified in a profile.  However, each
module will work using default values if no profile is used.  See the
help for the specific module(s) to determine what data may be
overridden in a profile.

Each module has a specified severity (high, med, low).  These are
defined as follows:

1) "high":  the module-results indicate an identifiable security risk
   in the SELinux policy.

2) "med":  the module-results indicate a flaw in the SELinux policy
   that changes the manner in which the policy is enforced; however,
   it does not present an identifiable security risk.

3) "low":  the module-results indicate a flaw in the policy that does
   not effect the manner in which the policy is enforced, but is
   considered to be improper.


Profiles:
---------
There are three profiles that are installed with the sechecker
program.  The three profiles are described below.

1.) development: this profile includes several policy checks of low
    and med severity.  The checks are common tasks that a policy
    developer will consider helpful for writing good policy.

2.) analysis: this profile includes several policy checks of med and
    low severity that are of higher computational complexity than the
    development profile and not meant to be used very often by policy
    developers.

3.) all: this profile runs all known modules.

Profiles can be created to run any set of modules with different
options.  The profile can specify the output format for each module.


Other Options:
--------------
You can specify a minimum module severity to report.  If the minimum
severity is "med" and the "all" profile is used, all modules that are
"med" or "high" will be run and the results for those modules will be
reported by sechecker.  The "low" severity modules listed in the
profile will be ignored.

Anon7 - 2021