psss / rpms / libsemanage

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