psss / rpms / libsemanage

Forked from rpms/libsemanage 5 years ago
Clone
0b6b0c9
# Authors: Jason Tang <jtang@tresys.com>
0b6b0c9
#
0b6b0c9
# Copyright (C) 2004-2005 Tresys Technology, LLC
0b6b0c9
#
0b6b0c9
#  This library is free software; you can redistribute it and/or
0b6b0c9
#  modify it under the terms of the GNU Lesser General Public
0b6b0c9
#  License as published by the Free Software Foundation; either
0b6b0c9
#  version 2.1 of the License, or (at your option) any later version.
0b6b0c9
#
0b6b0c9
#  This library is distributed in the hope that it will be useful,
0b6b0c9
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
0b6b0c9
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0b6b0c9
#  Lesser General Public License for more details.
0b6b0c9
#
0b6b0c9
#  You should have received a copy of the GNU Lesser General Public
0b6b0c9
#  License along with this library; if not, write to the Free Software
0b6b0c9
#  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
0b6b0c9
#
0b6b0c9
# Specify how libsemanage will interact with a SELinux policy manager.
0b6b0c9
# The four options are:
0b6b0c9
#
0b6b0c9
#  "source"     - libsemanage manipulates a source SELinux policy
0b6b0c9
#  "direct"     - libsemanage will write directly to a module store.
0b6b0c9
#  /foo/bar     - Write by way of a policy management server, whose
0b6b0c9
#                 named socket is at /foo/bar.  The path must begin
0b6b0c9
#                 with a '/'.
0b6b0c9
#  foo.com:4242 - Establish a TCP connection to a remote policy
0b6b0c9
#                 management server at foo.com.  If there is a colon
0b6b0c9
#                 then the remainder is interpreted as a port number;
0b6b0c9
#                 otherwise default to port 4242.
0b6b0c9
module-store = direct
0b6b0c9
0b6b0c9
# When generating the final linked and expanded policy, by default
0b6b0c9
# semanage will set the policy version to POLICYDB_VERSION_MAX, as
0b6b0c9
# given in <sepol/policydb.h>.  Change this setting if a different
0b6b0c9
# version is necessary.
0b6b0c9
#policy-version = 19
0b6b0c9
65dffc8
# expand-check check neverallow rules when executing all semanage commands.
65dffc8
# Large penalty in time if you turn this on.  
65dffc8
expand-check=0
0b6b0c9
0b6b0c9
# usepasswd check tells semanage to scan all pass word records for home directories
0b6b0c9
# and setup the labeling correctly.  If this is turned off, SELinux will label /home 
0b6b0c9
# correctly only.  You will need to use semanage fcontext command.  
0b6b0c9
# For example, if you had home dirs in /althome directory you would have to execute
0b6b0c9
# semanage fcontext -a -e /home /althome
0b6b0c9
usepasswd=False
0984542
bzip-small=true
0984542
bzip-blocksize=5
32db106
ignoredirs=/root