Content-type: text/html Manpage of rgmanager_selinux

rgmanager_selinux

Section: rgmanager SELinux Policy documentation (8)
Updated: rgmanager
Index Return to Main Contents
 

NAME

rgmanager_selinux - Security Enhanced Linux Policy for the rgmanager processes  

DESCRIPTION

Security-Enhanced Linux secures the rgmanager processes via flexible mandatory access control.

 

BOOLEANS

SELinux policy is customizable based on least access required. rgmanager policy is extremely flexible and has several booleans that allow you to manipulate the policy and run rgmanager with the tightest access possible.

If you want to allow rgmanager domain to connect to the network using TCP, you must turn on the rgmanager_can_network_connect boolean.

setsebool -P rgmanager_can_network_connect 1

 

NSSWITCH DOMAIN

If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd serve for the rgmanager_t, you must turn on the authlogin_nsswitch_use_ldap boolean.

setsebool -P authlogin_nsswitch_use_ldap 1

If you want to allow confined applications to run with kerberos for the rgmanager_t, you must turn on the kerberos_enabled boolean.

setsebool -P kerberos_enabled 1

 

FILE CONTEXTS

SELinux requires files to have an extended attribute to define the file type.

You can see the context of a file using the -Z option to lsP Policy governs the access confined processes have to these files. SELinux rgmanager policy is very flexible allowing users to setup their rgmanager processes in as secure a method as possible.

The following file types are defined for rgmanager:

rgmanager_exec_t

- Set files with the rgmanager_exec_t type, if you want to transition an executable to the rgmanager_t domain.


Paths:
/usr/sbin/cpglockd, /usr/sbin/rgmanager, /usr/lib(64)?/heartbeat/heartbeat

rgmanager_initrc_exec_t

- Set files with the rgmanager_initrc_exec_t type, if you want to transition an executable to the rgmanager_initrc_t domain.


Paths:
/etc/rc.d/init.d/rgmanager, /etc/rc.d/init.d/cpglockd, /etc/rc.d/init.d/heartbeat

rgmanager_tmp_t

- Set files with the rgmanager_tmp_t type, if you want to store rgmanager temporary files in the /tmp directories.

rgmanager_tmpfs_t

- Set files with the rgmanager_tmpfs_t type, if you want to store rgmanager files on a tmpfs file system.

rgmanager_var_lib_t

- Set files with the rgmanager_var_lib_t type, if you want to store the rgmanager files under the /var/lib directory.


Paths:
/var/lib/heartbeat(/.*)?, /usr/lib(64)?/heartbeat(/.*)?

rgmanager_var_log_t

- Set files with the rgmanager_var_log_t type, if you want to treat the data as rgmanager var log data, usually stored under the /var/log directory.


Paths:
/var/log/cluster/cpglockd.log.*, /var/log/cluster/rgmanager.log.*

rgmanager_var_run_t

- Set files with the rgmanager_var_run_t type, if you want to store the rgmanager files under the /run directory.


Paths:
/var/run/rgmanager.pid, /var/run/cpglockd.pid, /var/run/heartbeat(/.*)?, /var/run/cluster/rgmanager.sk

Note: File context can be temporarily modified with the chcon command. If you want to permanently change the file context you need to use the semanage fcontext command. This will modify the SELinux labeling database. You will need to use restorecon to apply the labels.

 

PROCESS TYPES

SELinux defines process types (domains) for each process running on the system

You can see the context of a process using the -Z option to psP Policy governs the access confined processes have to files. SELinux rgmanager policy is very flexible allowing users to setup their rgmanager processes in as secure a method as possible.

The following process types are defined for rgmanager:

rgmanager_t

Note: semanage permissive -a PROCESS_TYPE can be used to make a process type permissive. Permissive process types are not denied acce


 

Index

NAME
DESCRIPTION
BOOLEANS
NSSWITCH DOMAIN
FILE CONTEXTS
PROCESS TYPES

This document was created by man2html, using the manual pages.
Time: 19:34:29 GMT, September 30, 2012