selinux-policy/www/api-docs/admin_usermanage.html

801 lines
10 KiB
HTML
Raw Normal View History

2005-06-15 15:45:57 +00:00
<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">+&nbsp;
admin</a></br/>
<div id='subitem'>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_acct.html'>
acct</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_alsa.html'>
alsa</a><br/>
2005-12-07 15:46:38 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_amanda.html'>
amanda</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_anaconda.html'>
anaconda</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_consoletype.html'>
consoletype</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_ddcprobe.html'>
ddcprobe</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_dmesg.html'>
dmesg</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_dmidecode.html'>
dmidecode</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_firstboot.html'>
firstboot</a><br/>
2005-10-19 21:12:22 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_kudzu.html'>
kudzu</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_logrotate.html'>
logrotate</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_logwatch.html'>
logwatch</a><br/>
2005-07-05 13:36:21 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_netutils.html'>
netutils</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_prelink.html'>
prelink</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_quota.html'>
quota</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_readahead.html'>
readahead</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_rpm.html'>
rpm</a><br/>
2005-08-26 15:28:46 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_su.html'>
su</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_sudo.html'>
sudo</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_tmpreaper.html'>
tmpreaper</a><br/>
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_updfstab.html'>
updfstab</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_usbmodules.html'>
usbmodules</a><br/>
2005-06-15 15:45:57 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_usermanage.html'>
usermanage</a><br/>
2006-01-17 20:40:13 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_vbetool.html'>
vbetool</a><br/>
2005-09-22 18:40:05 +00:00
&nbsp;&nbsp;&nbsp;-&nbsp;<a href='admin_vpn.html'>
vpn</a><br/>
2005-06-15 15:45:57 +00:00
</div>
2005-07-05 13:36:21 +00:00
<a href="apps.html">+&nbsp;
apps</a></br/>
<div id='subitem'>
</div>
2005-06-15 15:45:57 +00:00
<a href="kernel.html">+&nbsp;
kernel</a></br/>
<div id='subitem'>
</div>
<a href="services.html">+&nbsp;
services</a></br/>
<div id='subitem'>
</div>
<a href="system.html">+&nbsp;
system</a></br/>
<div id='subitem'>
</div>
<br/><p/>
2005-08-02 17:21:46 +00:00
<a href="global_booleans.html">*&nbsp;Global&nbsp;Booleans&nbsp;</a>
2005-07-05 13:36:21 +00:00
<br/><p/>
2005-08-02 17:21:46 +00:00
<a href="global_tunables.html">*&nbsp;Global&nbsp;Tunables&nbsp;</a>
<p/><br/><p/>
<a href="index.html">*&nbsp;Layer Index</a>
<br/><p/>
<a href="interfaces.html">*&nbsp;Interface&nbsp;Index</a>
<br/><p/>
<a href="templates.html">*&nbsp;Template&nbsp;Index</a>
2005-06-15 15:45:57 +00:00
</div>
<div id="Content">
2005-07-05 13:36:21 +00:00
<a name="top":></a>
2005-06-15 15:45:57 +00:00
<h1>Layer: admin</h1><p/>
<h2>Module: usermanage</h2><p/>
2005-07-05 13:36:21 +00:00
2005-06-15 15:45:57 +00:00
<h3>Description:</h3>
2005-07-07 17:19:13 +00:00
<p><p>Policy for managing user accounts.</p></p>
2005-06-15 15:45:57 +00:00
2005-07-05 13:36:21 +00:00
<a name="interfaces"></a>
2005-06-15 15:45:57 +00:00
<h3>Interfaces: </h3>
2005-10-19 21:12:22 +00:00
<a name="link_usermanage_domtrans_admin_passwd"></a>
<div id="interface">
<div id="codeblock">
<b>usermanage_domtrans_admin_passwd</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute password admin functions in
the admin passwd 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>
Domain allowed access.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_domtrans_chfn"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_domtrans_chfn</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute chfn in the chfn domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_domtrans_groupadd"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_domtrans_groupadd</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute groupadd in the groupadd domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_domtrans_passwd"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_domtrans_passwd</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute passwd in the passwd domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_domtrans_useradd"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_domtrans_useradd</b>(
domain
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute useradd in the useradd domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_read_crack_db"></a>
2005-07-05 13:36:21 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_read_crack_db</b>(
domain
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Read the crack database.
</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.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-12-07 15:46:38 +00:00
<a name="link_usermanage_run_admin_passwd"></a>
<div id="interface">
<div id="codeblock">
<b>usermanage_run_admin_passwd</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
<h5>Summary</h5>
<p>
Execute passwd admin functions in the admin
passwd domain, and allow the specified role
the admin passwd 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 admin passwd domain.
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
The type of the terminal allow the admin passwd domain to use.
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_run_chfn"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_run_chfn</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute chfn in the chfn domain, and
allow the specified role the chfn domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
role
</td><td>
2005-07-05 13:36:21 +00:00
The role to be allowed the chfn domain.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
2005-07-05 13:36:21 +00:00
The type of the terminal allow the chfn domain to use.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_run_groupadd"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_run_groupadd</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute groupadd in the groupadd domain, and
allow the specified role the groupadd domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
role
</td><td>
2005-07-05 13:36:21 +00:00
The role to be allowed the groupadd domain.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
2005-07-05 13:36:21 +00:00
The type of the terminal allow the groupadd domain to use.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_run_passwd"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_run_passwd</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute passwd in the passwd domain, and
allow the specified role the passwd domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
role
</td><td>
2005-07-05 13:36:21 +00:00
The role to be allowed the passwd domain.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
2005-07-05 13:36:21 +00:00
The type of the terminal allow the passwd domain to use.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-08-02 17:21:46 +00:00
<a name="link_usermanage_run_useradd"></a>
2005-06-15 15:45:57 +00:00
<div id="interface">
<div id="codeblock">
<b>usermanage_run_useradd</b>(
domain
,
role
,
terminal
)<br>
</div>
<div id="description">
2005-06-15 21:11:49 +00:00
2005-08-26 15:28:46 +00:00
<h5>Summary</h5>
2005-06-15 15:45:57 +00:00
<p>
2005-07-05 13:36:21 +00:00
Execute useradd in the useradd domain, and
allow the specified role the useradd domain.
2005-06-15 21:11:49 +00:00
</p>
2005-08-26 15:28:46 +00:00
2005-06-15 21:11:49 +00:00
<h5>Parameters</h5>
2005-06-15 15:45:57 +00:00
<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>
2005-07-05 13:36:21 +00:00
The type of the process performing this action.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
role
</td><td>
2005-07-05 13:36:21 +00:00
The role to be allowed the useradd domain.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
<tr><td>
terminal
</td><td>
2005-07-05 13:36:21 +00:00
The type of the terminal allow the useradd domain to use.
2005-06-15 15:45:57 +00:00
</td><td>
No
</td></tr>
</table>
</div>
</div>
2005-07-05 13:36:21 +00:00
<a href=#top>Return</a>
2005-06-15 15:45:57 +00:00
2005-09-07 14:45:49 +00:00
2005-06-15 15:45:57 +00:00
</div>
</body>
</html>