958 lines
14 KiB
HTML
958 lines
14 KiB
HTML
<html>
|
|
<head>
|
|
<title>
|
|
Security Enhanced Linux Reference Policy
|
|
</title>
|
|
<style type="text/css" media="all">@import "style.css";</style>
|
|
</head>
|
|
<body>
|
|
<div id="Header">Security Enhanced Linux Reference Policy</div>
|
|
<div id='Menu'>
|
|
|
|
<a href="admin.html">+
|
|
admin</a></br/>
|
|
<div id='subitem'>
|
|
|
|
</div>
|
|
|
|
<a href="apps.html">+
|
|
apps</a></br/>
|
|
<div id='subitem'>
|
|
|
|
</div>
|
|
|
|
<a href="kernel.html">+
|
|
kernel</a></br/>
|
|
<div id='subitem'>
|
|
|
|
</div>
|
|
|
|
<a href="services.html">+
|
|
services</a></br/>
|
|
<div id='subitem'>
|
|
|
|
- <a href='services_apache.html'>
|
|
apache</a><br/>
|
|
|
|
- <a href='services_apm.html'>
|
|
apm</a><br/>
|
|
|
|
- <a href='services_arpwatch.html'>
|
|
arpwatch</a><br/>
|
|
|
|
- <a href='services_bind.html'>
|
|
bind</a><br/>
|
|
|
|
- <a href='services_bluetooth.html'>
|
|
bluetooth</a><br/>
|
|
|
|
- <a href='services_comsat.html'>
|
|
comsat</a><br/>
|
|
|
|
- <a href='services_cpucontrol.html'>
|
|
cpucontrol</a><br/>
|
|
|
|
- <a href='services_cron.html'>
|
|
cron</a><br/>
|
|
|
|
- <a href='services_cvs.html'>
|
|
cvs</a><br/>
|
|
|
|
- <a href='services_dbus.html'>
|
|
dbus</a><br/>
|
|
|
|
- <a href='services_dhcp.html'>
|
|
dhcp</a><br/>
|
|
|
|
- <a href='services_dictd.html'>
|
|
dictd</a><br/>
|
|
|
|
- <a href='services_finger.html'>
|
|
finger</a><br/>
|
|
|
|
- <a href='services_ftp.html'>
|
|
ftp</a><br/>
|
|
|
|
- <a href='services_gpm.html'>
|
|
gpm</a><br/>
|
|
|
|
- <a href='services_hal.html'>
|
|
hal</a><br/>
|
|
|
|
- <a href='services_howl.html'>
|
|
howl</a><br/>
|
|
|
|
- <a href='services_inetd.html'>
|
|
inetd</a><br/>
|
|
|
|
- <a href='services_inn.html'>
|
|
inn</a><br/>
|
|
|
|
- <a href='services_kerberos.html'>
|
|
kerberos</a><br/>
|
|
|
|
- <a href='services_ktalk.html'>
|
|
ktalk</a><br/>
|
|
|
|
- <a href='services_ldap.html'>
|
|
ldap</a><br/>
|
|
|
|
- <a href='services_mailman.html'>
|
|
mailman</a><br/>
|
|
|
|
- <a href='services_mta.html'>
|
|
mta</a><br/>
|
|
|
|
- <a href='services_mysql.html'>
|
|
mysql</a><br/>
|
|
|
|
- <a href='services_nis.html'>
|
|
nis</a><br/>
|
|
|
|
- <a href='services_nscd.html'>
|
|
nscd</a><br/>
|
|
|
|
- <a href='services_ntp.html'>
|
|
ntp</a><br/>
|
|
|
|
- <a href='services_portmap.html'>
|
|
portmap</a><br/>
|
|
|
|
- <a href='services_postgresql.html'>
|
|
postgresql</a><br/>
|
|
|
|
- <a href='services_ppp.html'>
|
|
ppp</a><br/>
|
|
|
|
- <a href='services_privoxy.html'>
|
|
privoxy</a><br/>
|
|
|
|
- <a href='services_radvd.html'>
|
|
radvd</a><br/>
|
|
|
|
- <a href='services_remotelogin.html'>
|
|
remotelogin</a><br/>
|
|
|
|
- <a href='services_rlogin.html'>
|
|
rlogin</a><br/>
|
|
|
|
- <a href='services_rshd.html'>
|
|
rshd</a><br/>
|
|
|
|
- <a href='services_rsync.html'>
|
|
rsync</a><br/>
|
|
|
|
- <a href='services_samba.html'>
|
|
samba</a><br/>
|
|
|
|
- <a href='services_sasl.html'>
|
|
sasl</a><br/>
|
|
|
|
- <a href='services_sendmail.html'>
|
|
sendmail</a><br/>
|
|
|
|
- <a href='services_snmp.html'>
|
|
snmp</a><br/>
|
|
|
|
- <a href='services_squid.html'>
|
|
squid</a><br/>
|
|
|
|
- <a href='services_ssh.html'>
|
|
ssh</a><br/>
|
|
|
|
- <a href='services_stunnel.html'>
|
|
stunnel</a><br/>
|
|
|
|
- <a href='services_tcpd.html'>
|
|
tcpd</a><br/>
|
|
|
|
- <a href='services_telnet.html'>
|
|
telnet</a><br/>
|
|
|
|
- <a href='services_tftp.html'>
|
|
tftp</a><br/>
|
|
|
|
- <a href='services_uucp.html'>
|
|
uucp</a><br/>
|
|
|
|
- <a href='services_zebra.html'>
|
|
zebra</a><br/>
|
|
|
|
</div>
|
|
|
|
<a href="system.html">+
|
|
system</a></br/>
|
|
<div id='subitem'>
|
|
|
|
</div>
|
|
|
|
<br/><p/>
|
|
<a href="global_booleans.html">* Global Booleans </a>
|
|
<br/><p/>
|
|
<a href="global_tunables.html">* Global Tunables </a>
|
|
<p/><br/><p/>
|
|
<a href="index.html">* Layer Index</a>
|
|
<br/><p/>
|
|
<a href="interfaces.html">* Interface Index</a>
|
|
<br/><p/>
|
|
<a href="templates.html">* Template Index</a>
|
|
</div>
|
|
|
|
<div id="Content">
|
|
<a name="top":></a>
|
|
<h1>Layer: services</h1><p/>
|
|
<h2>Module: samba</h2><p/>
|
|
|
|
<a href=#interfaces>Interfaces</a>
|
|
<a href=#templates>Templates</a>
|
|
|
|
<h3>Description:</h3>
|
|
|
|
<p><p>
|
|
SMB and CIFS client/server programs for UNIX and
|
|
name Service Switch daemon for resolving names
|
|
from Windows NT servers.
|
|
</p></p>
|
|
|
|
|
|
|
|
<a name="interfaces"></a>
|
|
<h3>Interfaces: </h3>
|
|
|
|
<a name="link_samba_domtrans_net"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_domtrans_net</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Execute samba net in the samba_net domain.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
The type of the process performing this action.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_domtrans_smbmount"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_domtrans_smbmount</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Execute smbmount in the smbmount domain.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
The type of the process performing this action.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_domtrans_winbind_helper"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_domtrans_winbind_helper</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Execute winbind_helper in the winbind_helper domain.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
The type of the process performing this action.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_exec_log"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_exec_log</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Execute samba log in the caller domain.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
The type of the process performing this action.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_read_config"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_read_config</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read
|
|
samba configuration files.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_read_log"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_read_log</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read samba's log files.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_read_secrets"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_read_secrets</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read samba's secrets.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_read_winbind_pid"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_read_winbind_pid</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read the winbind pid files.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_read_winbind_pid"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_read_winbind_pid</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read the winbind pid files.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_run_net"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_run_net</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
role
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
terminal
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Execute samba net in the samba_net domain, and
|
|
allow the specified role the samba_net domain.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
The type of the process performing this action.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
role
|
|
</td><td>
|
|
|
|
The role to be allowed the samba_net domain.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
terminal
|
|
</td><td>
|
|
|
|
The type of the terminal allow the samba_net domain to use.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_run_winbind_helper"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_run_winbind_helper</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
role
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
terminal
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Execute winbind_helper in the winbind_helper domain, and
|
|
allow the specified role the winbind_helper domain.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
The type of the process performing this action.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
role
|
|
</td><td>
|
|
|
|
The role to be allowed the winbind_helper domain.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
terminal
|
|
</td><td>
|
|
|
|
The type of the terminal allow the winbind_helper domain to use.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_rw_config"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_rw_config</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read
|
|
and write samba configuration files.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_rw_smbmount_tcp_socket"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_rw_smbmount_tcp_socket</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to read and write to smbmount tcp sockets.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<a name="link_samba_write_smbmount_tcp_socket"></a>
|
|
<div id="interface">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_write_smbmount_tcp_socket</b>(
|
|
|
|
|
|
|
|
|
|
domain
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
Allow the specified domain to write to smbmount tcp sockets.
|
|
</p>
|
|
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
domain
|
|
</td><td>
|
|
|
|
Domain allowed access.
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<a href=#top>Return</a>
|
|
|
|
|
|
<a name="templates"></a>
|
|
<h3>Templates: </h3>
|
|
|
|
<a name="link_samba_per_userdomain_template"></a>
|
|
<div id="template">
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
<b>samba_per_userdomain_template</b>(
|
|
|
|
|
|
|
|
|
|
userdomain_prefix
|
|
|
|
|
|
)<br>
|
|
</div>
|
|
<div id="description">
|
|
|
|
<h5>Summary</h5>
|
|
<p>
|
|
The per user domain template for the samba module.
|
|
</p>
|
|
|
|
|
|
<h5>Description</h5>
|
|
<p>
|
|
</p><p>
|
|
This template allows smbd to manage files in
|
|
a user home directory, creating files with the
|
|
correct type.
|
|
</p><p>
|
|
</p><p>
|
|
This template is invoked automatically for each user, and
|
|
generally does not need to be invoked directly
|
|
by policy writers.
|
|
</p><p>
|
|
</p>
|
|
|
|
<h5>Parameters</h5>
|
|
<table border="1" cellspacing="0" cellpadding="3" width="80%">
|
|
<tr><th >Parameter:</td><th >Description:</td><th >Optional:</td></tr>
|
|
|
|
<tr><td>
|
|
userdomain_prefix
|
|
</td><td>
|
|
|
|
The prefix of the user domain (e.g., user
|
|
is the prefix for user_t).
|
|
|
|
</td><td>
|
|
No
|
|
</td></tr>
|
|
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<a href=#top>Return</a>
|
|
|
|
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|