Chris PeBenito 9916c6
#
Chris PeBenito 4f9f30
# This file is for the declaration of global tunables.
Chris PeBenito 4f9f30
# To change the default value at build time, the booleans.conf
Chris PeBenito 9916c6
# file should be used.
Chris PeBenito 9916c6
#
Chris PeBenito 9916c6
Chris PeBenito 375c24
########################################
Chris PeBenito 375c24
#
Chris PeBenito 375c24
# Common tunables
Chris PeBenito 375c24
#
Chris PeBenito 375c24
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito bf080a
## Allow cvs daemon to read shadow
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 885b83
#
Chris PeBenito bf080a
gen_tunable(allow_cvs_read_shadow,false)
Chris PeBenito bf080a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a225f9
## Allow making the heap executable.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a225f9
gen_tunable(allow_execheap,false)
Chris PeBenito a225f9
Chris PeBenito 885b83
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 98a8ea
## Allow making anonymous memory executable, e.g. 
Chris PeBenito 98a8ea
## for runtime-code generation or executable stack.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(allow_execmem,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 98a8ea
## Allow making a modified private file
Chris PeBenito 98a8ea
## mapping executable (text relocation).
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(allow_execmod,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 98a8ea
## Allow making the stack executable via mprotect.
Chris PeBenito 98a8ea
## Also requires allow_execmem.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 98a8ea
gen_tunable(allow_execstack,false)
Chris PeBenito 98a8ea
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito fc6524
## Allow ftp servers to modify public files
Chris PeBenito fc6524
## used for public file transfer services.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito fc6524
gen_tunable(allow_ftpd_anon_write,false)
Chris PeBenito fc6524
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 43989f
## Allow gssd to read temp directory.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 43989f
gen_tunable(allow_gssd_read_tmp,true)
Chris PeBenito 43989f
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 6e99a6
## Allow Apache to modify public files
Chris PeBenito 6e99a6
## used for public file transfer services.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 6e99a6
gen_tunable(allow_httpd_anon_write,false)
Chris PeBenito 6e99a6
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 3ffe29
## Allow java executable stack
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 3ffe29
gen_tunable(allow_java_execstack,false)
Chris PeBenito 3ffe29
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow system to run with kerberos
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(allow_kerberos,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito ccfd7b
## Allow rsync to modify public files
Chris PeBenito ccfd7b
## used for public file transfer services.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito ccfd7b
gen_tunable(allow_rsync_anon_write,false)
Chris PeBenito ccfd7b
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito f33561
## Allow sasl to read shadow
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito f33561
gen_tunable(allow_saslauthd_read_shadow,false)
Chris PeBenito f33561
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 671673
## Allow samba to modify public files
Chris PeBenito 671673
## used for public file transfer services.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 671673
gen_tunable(allow_smbd_anon_write,false)
Chris PeBenito 671673
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 1f91e1
## Allow sysadm to ptrace all processes
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 1f91e1
gen_tunable(allow_ptrace,false)
Chris PeBenito 1f91e1
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow system to run with NIS
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(allow_ypbind,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Enable extra rules in the cron domain
Chris PeBenito 9916c6
## to support fcron.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 31908b
gen_tunable(fcron_crond,false)
Chris PeBenito 763c44
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a5ec7c
## Allow ftp to read and write files in the user home directories
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a5ec7c
gen_tunable(ftp_home_dir,false)
Chris PeBenito a5ec7c
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a5ec7c
## Allow ftpd to run directly without inetd
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a5ec7c
gen_tunable(ftpd_is_daemon,false)
Chris PeBenito a5ec7c
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Allow httpd to use built in scripting (usually php)
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_builtin_scripting,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Allow http daemon to tcp connect 
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_can_network_connect,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## Allow httpd to connect to mysql/posgresql 
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito bb4372
gen_tunable(httpd_can_network_connect_db, false)
Chris PeBenito bb4372
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## Allow httpd to act as a relay 
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito bb4372
gen_tunable(httpd_can_network_relay, false)
Chris PeBenito bb4372
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Allow httpd cgi support
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_enable_cgi,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito bea7b4
## Allow httpd to act as a FTP server by
Chris PeBenito bea7b4
## listening on the ftp port.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito bea7b4
gen_tunable(httpd_enable_ftp_server,false)
Chris PeBenito bea7b4
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Allow httpd to read home directories
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_enable_homedirs,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Run SSI execs in system CGI script domain.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_ssi_exec,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Allow http daemon to communicate with the TTY
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_tty_comm,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a996bd
## Run CGI in the main httpd domain
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a996bd
gen_tunable(httpd_unified,false)
Chris PeBenito a996bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito d83fda
## Allow BIND to write the master zone files.
Chris PeBenito d83fda
## Generally this is used for dynamic DNS.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito d83fda
gen_tunable(named_write_master_zones,false)
Chris PeBenito d83fda
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 43989f
## Allow nfs to be exported read/write.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 43989f
gen_tunable(nfs_export_all_rw,false)
Chris PeBenito 43989f
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 43989f
## Allow nfs to be exported read only
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 43989f
gen_tunable(nfs_export_all_ro,false)
Chris PeBenito 43989f
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito e08118
## Allow pppd to load kernel modules for certain modems
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito e08118
gen_tunable(pppd_can_insmod,false)
Chris PeBenito e08118
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow reading of default_t files.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(read_default_t,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 452399
## Allow ssh to run from inetd instead of as a daemon.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 452399
gen_tunable(run_ssh_inetd,false)
Chris PeBenito 452399
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 671673
## Allow samba to export user home directories.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 671673
gen_tunable(samba_enable_home_dirs,false)
Chris PeBenito 671673
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 6820a3
## Allow spamassassin to do DNS lookups
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 6820a3
gen_tunable(spamassasin_can_network,false)
Chris PeBenito 6820a3
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 0907bd
## Allow squid to connect to all ports, not just
Chris PeBenito 0907bd
## HTTP, FTP, and Gopher ports.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 0907bd
gen_tunable(squid_connect_any,false)
Chris PeBenito 0907bd
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 452399
## Allow ssh logins as sysadm_r:sysadm_t
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 452399
gen_tunable(ssh_sysadm_login,false)
Chris PeBenito 452399
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 4614e8
## Configure stunnel to be a standalone daemon or
Chris PeBenito 4614e8
## inetd service.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 4614e8
gen_tunable(stunnel_is_daemon,false)
Chris PeBenito 4614e8
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Support NFS home directories
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(use_nfs_home_dirs,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Support SAMBA home directories
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(use_samba_home_dirs,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Control users use of ping and traceroute
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(user_ping,false)
Chris PeBenito cbdb4a
Chris PeBenito cbdb4a
########################################
Chris PeBenito cbdb4a
#
Chris PeBenito cbdb4a
# Strict policy specific
Chris PeBenito cbdb4a
#
Chris PeBenito cbdb4a
Chris PeBenito 24a637
ifdef(`strict_policy',`
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Allow gpg executable stack
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(allow_gpg_execstack,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## allow host key based authentication
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(allow_ssh_keysign,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Allow users to connect to mysql
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(allow_user_mysql_connect,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 24a637
## Allows clients to write to the X server shared
Chris PeBenito 24a637
## memory segments.
Chris PeBenito 24a637
## 

Chris PeBenito 24a637
## </desc>
Chris PeBenito 24a637
gen_tunable(allow_write_xshm,false)
Chris PeBenito 24a637
Chris PeBenito 24a637
## <desc>
Chris PeBenito 24a637
## 

Chris PeBenito 4ec694
## Allow cdrecord to read various content.
Chris PeBenito 4ec694
## nfs, samba, removable devices, user temp
Chris PeBenito 4ec694
## and untrusted content files
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 4ec694
gen_tunable(cdrecord_read_content,false)
Chris PeBenito 4ec694
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Allow system cron jobs to relabel filesystem
Chris PeBenito cbdb4a
## for restoring file contexts.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(cron_can_relabel,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Allow pppd to be run for a regular user
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(pppd_for_user,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Allow applications to read untrusted content
Chris PeBenito cbdb4a
## If this is disallowed, Internet content has
Chris PeBenito cbdb4a
## to be manually relabeled for read access to be granted
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(read_untrusted_content,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito cbdb4a
## Allow user spamassassin clients to use the network.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito cbdb4a
gen_tunable(spamassassin_can_network,false)
Chris PeBenito cbdb4a
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 375c24
## Allow staff_r users to search the sysadm home 
Chris PeBenito 375c24
## dir and read files (such as ~/.bashrc)
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 375c24
gen_tunable(staff_read_sysadm_file,false)
Chris PeBenito 375c24
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow regular users direct mouse access 
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_direct_mouse,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow users to read system messages.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_dmesg,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow users to control network interfaces
Chris PeBenito 9916c6
## (also needs USERCTL=true)
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_net_control,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 375c24
## Allow user to r/w files on filesystems
Chris PeBenito 375c24
## that do not have extended attributes (FAT, CDROM, FLOPPY)
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_rw_noexattrfile,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow users to rw usb devices
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_rw_usb,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow users to run TCP servers (bind to ports and accept connection from
Chris PeBenito 9916c6
## the same domain and outside users)  disabling this forces FTP passive mode
Chris PeBenito 9916c6
## and may change other protocols.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_tcp_server,false)
Chris PeBenito 34c8fa
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 9916c6
## Allow w to display everyone
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 34c8fa
gen_tunable(user_ttyfile_stat,false)
Chris PeBenito a1fcff
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito a1fcff
## Allow applications to write untrusted content
Chris PeBenito a1fcff
## If this is disallowed, no Internet content
Chris PeBenito a1fcff
## will be stored.
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito a1fcff
gen_tunable(write_untrusted_content,false)
Chris PeBenito 0f5d13
Chris PeBenito 885b83
## <desc>
Chris PeBenito 885b83
## 

Chris PeBenito 0f5d13
## Allow xdm logins as sysadm
Chris PeBenito 885b83
## 

Chris PeBenito 885b83
## </desc>
Chris PeBenito 0f5d13
gen_tunable(xdm_sysadm_login,false)
Chris PeBenito cbdb4a
')