Content-type: text/html Manpage of dirsrv_selinux

dirsrv_selinux

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

NAME

dirsrv_selinux - Security Enhanced Linux Policy for the dirsrv processes  

DESCRIPTION

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

 

NSSWITCH DOMAIN

If you want to allow users to resolve user passwd entries directly from ldap rather then using a sssd serve for the dirsrv_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 dirsrv_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 dirsrv policy is very flexible allowing users to setup their dirsrv processes in as secure a method as possible.

The following file types are defined for dirsrv:

dirsrv_config_t

- Set files with the dirsrv_config_t type, if you want to treat the files as dirsrv configuration data, usually stored under the /etc directory.

dirsrv_exec_t

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

dirsrv_share_t

- Set files with the dirsrv_share_t type, if you want to treat the files as dirsrv share data.

dirsrv_snmp_exec_t

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

dirsrv_snmp_var_log_t

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

dirsrv_snmp_var_run_t

- Set files with the dirsrv_snmp_var_run_t type, if you want to store the dirsrv snmp files under the /run directory.

dirsrv_tmp_t

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

dirsrv_tmpfs_t

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

dirsrv_var_lib_t

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

dirsrv_var_lock_t

- Set files with the dirsrv_var_lock_t type, if you want to treat the files as dirsrv var lock data, stored under the /var/lock directory

dirsrv_var_log_t

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

dirsrv_var_run_t

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

dirsrvadmin_config_t

- Set files with the dirsrvadmin_config_t type, if you want to treat the files as dirsrvadmin configuration data, usually stored under the /etc directory.


Paths:
/etc/dirsrv/admin-serv(/.*)?, /etc/dirsrv/dsgw(/.*)?

dirsrvadmin_exec_t

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


Paths:
/usr/sbin/start-ds-admin, /usr/sbin/stop-ds-admin, /usr/sbin/restart-ds-admin

dirsrvadmin_lock_t

- Set files with the dirsrvadmin_lock_t type, if you want to treat the files as dirsrvadmin lock data, stored under the /var/lock directory

dirsrvadmin_tmp_t

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

dirsrvadmin_unconfined_script_exec_t

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



 

Index

NAME
DESCRIPTION
NSSWITCH DOMAIN
FILE CONTEXTS

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