2005-06-23 20:27:06 +00:00
|
|
|
#
|
2005-10-07 18:08:50 +00:00
|
|
|
# This file is for the declaration of global tunables.
|
|
|
|
# To change the default value at build time, the booleans.conf
|
2005-06-23 20:27:06 +00:00
|
|
|
# file should be used.
|
|
|
|
#
|
|
|
|
|
2005-10-28 18:13:44 +00:00
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Common tunables
|
|
|
|
#
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2006-01-06 22:51:40 +00:00
|
|
|
## Allow cvs daemon to read shadow
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
#
|
2006-01-06 22:51:40 +00:00
|
|
|
gen_tunable(allow_cvs_read_shadow,false)
|
|
|
|
|
2006-07-28 15:13:58 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow zebra daemon to write it configuration files
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
#
|
|
|
|
gen_tunable(allow_zebra_write_config,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2006-01-19 23:00:23 +00:00
|
|
|
## Allow making the heap executable.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2006-01-19 23:00:23 +00:00
|
|
|
gen_tunable(allow_execheap,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-15 21:03:29 +00:00
|
|
|
## Allow making anonymous memory executable, e.g.
|
|
|
|
## for runtime-code generation or executable stack.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(allow_execmem,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-15 21:03:29 +00:00
|
|
|
## Allow making a modified private file
|
|
|
|
## mapping executable (text relocation).
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(allow_execmod,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-15 21:03:29 +00:00
|
|
|
## Allow making the stack executable via mprotect.
|
|
|
|
## Also requires allow_execmem.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-15 21:03:29 +00:00
|
|
|
gen_tunable(allow_execstack,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-05 19:52:53 +00:00
|
|
|
## Allow ftp servers to modify public files
|
|
|
|
## used for public file transfer services.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-05 19:52:53 +00:00
|
|
|
gen_tunable(allow_ftpd_anon_write,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
2006-06-07 17:43:10 +00:00
|
|
|
## <p>
|
|
|
|
## Allow ftp servers to use cifs
|
|
|
|
## used for public file transfer services.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_ftpd_use_cifs,false)
|
|
|
|
|
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow ftp servers to use nfs
|
|
|
|
## used for public file transfer services.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_ftpd_use_nfs,false)
|
|
|
|
|
|
|
|
## <desc>
|
2006-02-10 18:41:53 +00:00
|
|
|
## <p>
|
2005-10-24 01:53:13 +00:00
|
|
|
## Allow gssd to read temp directory.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-24 01:53:13 +00:00
|
|
|
gen_tunable(allow_gssd_read_tmp,true)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-05 21:17:22 +00:00
|
|
|
## Allow Apache to modify public files
|
|
|
|
## used for public file transfer services.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-05 21:17:22 +00:00
|
|
|
gen_tunable(allow_httpd_anon_write,false)
|
|
|
|
|
2006-07-28 15:13:58 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow Apache to use mod_auth_pam
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_httpd_mod_auth_pam,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2006-01-12 22:26:46 +00:00
|
|
|
## Allow java executable stack
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2006-01-12 22:26:46 +00:00
|
|
|
gen_tunable(allow_java_execstack,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow system to run with kerberos
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(allow_kerberos,false)
|
|
|
|
|
2006-05-19 14:02:24 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow nfs servers to modify public files
|
|
|
|
## used for public file transfer services.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_nfsd_anon_write,false)
|
|
|
|
|
2006-10-31 21:01:48 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Enable polyinstantiated directory support.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_polyinstantiation,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-25 19:03:15 +00:00
|
|
|
## Allow rsync to modify public files
|
|
|
|
## used for public file transfer services.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-25 19:03:15 +00:00
|
|
|
gen_tunable(allow_rsync_anon_write,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-10 18:50:08 +00:00
|
|
|
## Allow sasl to read shadow
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-10 18:50:08 +00:00
|
|
|
gen_tunable(allow_saslauthd_read_shadow,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-24 21:33:46 +00:00
|
|
|
## Allow samba to modify public files
|
|
|
|
## used for public file transfer services.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-24 21:33:46 +00:00
|
|
|
gen_tunable(allow_smbd_anon_write,false)
|
|
|
|
|
2005-09-27 19:40:44 +00:00
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow system to run with NIS
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(allow_ypbind,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Enable extra rules in the cron domain
|
|
|
|
## to support fcron.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:27:32 +00:00
|
|
|
gen_tunable(fcron_crond,false)
|
2005-06-08 13:12:00 +00:00
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 13:32:28 +00:00
|
|
|
## Allow ftp to read and write files in the user home directories
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 13:32:28 +00:00
|
|
|
gen_tunable(ftp_home_dir,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 13:32:28 +00:00
|
|
|
## Allow ftpd to run directly without inetd
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 13:32:28 +00:00
|
|
|
gen_tunable(ftpd_is_daemon,false)
|
|
|
|
|
2006-03-14 19:13:59 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Enable reading of urandom for all domains.
|
|
|
|
## </p>
|
|
|
|
## <p>
|
|
|
|
## This should be enabled when all programs
|
|
|
|
## are compiled with ProPolice/SSP
|
|
|
|
## stack smashing protection. All domains will
|
|
|
|
## be allowed to read from /dev/urandom.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(global_ssp,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Allow httpd to use built in scripting (usually php)
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_builtin_scripting,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Allow http daemon to tcp connect
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_can_network_connect,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow httpd to connect to mysql/posgresql
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-12-12 21:47:43 +00:00
|
|
|
gen_tunable(httpd_can_network_connect_db, false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow httpd to act as a relay
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-12-12 21:47:43 +00:00
|
|
|
gen_tunable(httpd_can_network_relay, false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Allow httpd cgi support
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_enable_cgi,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-31 19:58:51 +00:00
|
|
|
## Allow httpd to act as a FTP server by
|
|
|
|
## listening on the ftp port.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-31 19:58:51 +00:00
|
|
|
gen_tunable(httpd_enable_ftp_server,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Allow httpd to read home directories
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_enable_homedirs,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Run SSI execs in system CGI script domain.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_ssi_exec,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Allow http daemon to communicate with the TTY
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_tty_comm,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-29 20:59:00 +00:00
|
|
|
## Run CGI in the main httpd domain
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-29 20:59:00 +00:00
|
|
|
gen_tunable(httpd_unified,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-08-23 17:26:19 +00:00
|
|
|
## Allow BIND to write the master zone files.
|
|
|
|
## Generally this is used for dynamic DNS.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-08-23 17:26:19 +00:00
|
|
|
gen_tunable(named_write_master_zones,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-24 01:53:13 +00:00
|
|
|
## Allow nfs to be exported read/write.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-24 01:53:13 +00:00
|
|
|
gen_tunable(nfs_export_all_rw,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-24 01:53:13 +00:00
|
|
|
## Allow nfs to be exported read only
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-24 01:53:13 +00:00
|
|
|
gen_tunable(nfs_export_all_ro,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-14 20:00:07 +00:00
|
|
|
## Allow pppd to load kernel modules for certain modems
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-14 20:00:07 +00:00
|
|
|
gen_tunable(pppd_can_insmod,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow reading of default_t files.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(read_default_t,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-24 21:33:46 +00:00
|
|
|
## Allow samba to export user home directories.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-24 21:33:46 +00:00
|
|
|
gen_tunable(samba_enable_home_dirs,false)
|
|
|
|
|
2006-04-17 17:32:54 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow samba to export NFS volumes.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(samba_share_nfs,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-13 13:06:07 +00:00
|
|
|
## Allow squid to connect to all ports, not just
|
|
|
|
## HTTP, FTP, and Gopher ports.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-13 13:06:07 +00:00
|
|
|
gen_tunable(squid_connect_any,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-26 21:03:19 +00:00
|
|
|
## Configure stunnel to be a standalone daemon or
|
|
|
|
## inetd service.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-26 21:03:19 +00:00
|
|
|
gen_tunable(stunnel_is_daemon,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Support NFS home directories
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(use_nfs_home_dirs,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Support SAMBA home directories
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(use_samba_home_dirs,false)
|
|
|
|
|
2006-07-28 15:13:58 +00:00
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Strict policy specific
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef(`strict_policy',`
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Control users use of ping and traceroute
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(user_ping,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Allow gpg executable stack
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(allow_gpg_execstack,false)
|
|
|
|
|
2006-03-09 20:28:51 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow mplayer executable stack
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_mplayer_execstack,false)
|
|
|
|
|
2006-07-28 15:13:58 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow sysadm to ptrace all processes
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_ptrace,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## allow host key based authentication
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(allow_ssh_keysign,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Allow users to connect to mysql
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(allow_user_mysql_connect,false)
|
|
|
|
|
2006-02-15 16:42:51 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allows clients to write to the X server shared
|
|
|
|
## memory segments.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_write_xshm,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2006-01-12 23:23:22 +00:00
|
|
|
## Allow cdrecord to read various content.
|
|
|
|
## nfs, samba, removable devices, user temp
|
|
|
|
## and untrusted content files
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2006-01-12 23:23:22 +00:00
|
|
|
gen_tunable(cdrecord_read_content,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Allow system cron jobs to relabel filesystem
|
|
|
|
## for restoring file contexts.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(cron_can_relabel,false)
|
|
|
|
|
2006-03-21 18:07:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## force to games to run in user_t
|
|
|
|
## mapping executable (text relocation).
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(disable_games_trans,false)
|
|
|
|
|
2006-03-13 21:36:49 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Disable transitions to evolution domains.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(disable_evolution_trans,false)
|
|
|
|
|
2006-03-13 19:24:52 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Disable transitions to user mozilla domains
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(disable_mozilla_trans,false)
|
|
|
|
|
2006-03-08 20:09:42 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Disable transitions to user thunderbird domains
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(disable_thunderbird_trans,false)
|
|
|
|
|
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow email client to various content.
|
|
|
|
## nfs, samba, removable devices, user temp
|
|
|
|
## and untrusted content files
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(mail_read_content,false)
|
|
|
|
|
2006-03-13 19:24:52 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Control mozilla content access
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(mozilla_read_content,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Allow pppd to be run for a regular user
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(pppd_for_user,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Allow applications to read untrusted content
|
|
|
|
## If this is disallowed, Internet content has
|
|
|
|
## to be manually relabeled for read access to be granted
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(read_untrusted_content,false)
|
|
|
|
|
2006-07-28 15:13:58 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow ssh to run from inetd instead of as a daemon.
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(run_ssh_inetd,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 17:31:53 +00:00
|
|
|
## Allow user spamassassin clients to use the network.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 17:31:53 +00:00
|
|
|
gen_tunable(spamassassin_can_network,false)
|
|
|
|
|
2006-07-28 15:13:58 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow ssh logins as sysadm_r:sysadm_t
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(ssh_sysadm_login,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 18:13:44 +00:00
|
|
|
## Allow staff_r users to search the sysadm home
|
|
|
|
## dir and read files (such as ~/.bashrc)
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-10-28 18:13:44 +00:00
|
|
|
gen_tunable(staff_read_sysadm_file,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow regular users direct mouse access
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(user_direct_mouse,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow users to read system messages.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(user_dmesg,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow users to control network interfaces
|
|
|
|
## (also needs USERCTL=true)
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(user_net_control,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-10-28 18:13:44 +00:00
|
|
|
## Allow user to r/w files on filesystems
|
|
|
|
## that do not have extended attributes (FAT, CDROM, FLOPPY)
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(user_rw_noexattrfile,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow users to run TCP servers (bind to ports and accept connection from
|
|
|
|
## the same domain and outside users) disabling this forces FTP passive mode
|
|
|
|
## and may change other protocols.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(user_tcp_server,false)
|
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-06-23 20:27:06 +00:00
|
|
|
## Allow w to display everyone
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-06-13 20:44:23 +00:00
|
|
|
gen_tunable(user_ttyfile_stat,false)
|
2005-09-19 21:17:45 +00:00
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2005-09-19 21:17:45 +00:00
|
|
|
## Allow applications to write untrusted content
|
|
|
|
## If this is disallowed, no Internet content
|
|
|
|
## will be stored.
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2005-09-19 21:17:45 +00:00
|
|
|
gen_tunable(write_untrusted_content,false)
|
2006-01-30 22:51:35 +00:00
|
|
|
|
2006-02-10 18:41:53 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2006-01-30 22:51:35 +00:00
|
|
|
## Allow xdm logins as sysadm
|
2006-02-10 18:41:53 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
2006-01-30 22:51:35 +00:00
|
|
|
gen_tunable(xdm_sysadm_login,false)
|
2005-10-28 17:31:53 +00:00
|
|
|
')
|
2006-02-20 16:31:54 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
#
|
|
|
|
# Targeted policy specific
|
|
|
|
#
|
|
|
|
|
|
|
|
ifdef(`targeted_policy',`
|
2006-09-25 18:53:06 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow all daemons the ability to use unallocated ttys
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_daemons_use_tty,false)
|
|
|
|
|
2006-05-17 14:50:31 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
|
|
|
## Allow mount to mount any file
|
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(allow_mount_anyfile,false)
|
|
|
|
|
2006-02-20 16:31:54 +00:00
|
|
|
## <desc>
|
|
|
|
## <p>
|
2006-12-04 20:10:56 +00:00
|
|
|
## Allow spamd to read/write user home directories.
|
2006-02-20 16:31:54 +00:00
|
|
|
## </p>
|
|
|
|
## </desc>
|
|
|
|
gen_tunable(spamd_enable_home_dirs,true)
|
|
|
|
')
|