2005-08-26 15:28:46 +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">+
|
|
|
|
admin</a></br/>
|
|
|
|
<div id='subitem'>
|
|
|
|
|
|
|
|
- <a href='admin_acct.html'>
|
|
|
|
acct</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_alsa.html'>
|
|
|
|
alsa</a><br/>
|
|
|
|
|
2005-12-07 15:46:38 +00:00
|
|
|
- <a href='admin_amanda.html'>
|
|
|
|
amanda</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='admin_anaconda.html'>
|
|
|
|
anaconda</a><br/>
|
|
|
|
|
2006-03-07 14:35:03 +00:00
|
|
|
- <a href='admin_bootloader.html'>
|
|
|
|
bootloader</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_certwatch.html'>
|
|
|
|
certwatch</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_consoletype.html'>
|
|
|
|
consoletype</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_ddcprobe.html'>
|
|
|
|
ddcprobe</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_dmesg.html'>
|
|
|
|
dmesg</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='admin_dmidecode.html'>
|
|
|
|
dmidecode</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_firstboot.html'>
|
|
|
|
firstboot</a><br/>
|
|
|
|
|
2005-10-19 21:12:22 +00:00
|
|
|
- <a href='admin_kudzu.html'>
|
|
|
|
kudzu</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_logrotate.html'>
|
|
|
|
logrotate</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_logwatch.html'>
|
|
|
|
logwatch</a><br/>
|
|
|
|
|
2006-03-07 14:35:03 +00:00
|
|
|
- <a href='admin_mrtg.html'>
|
|
|
|
mrtg</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_netutils.html'>
|
|
|
|
netutils</a><br/>
|
|
|
|
|
2006-03-07 14:35:03 +00:00
|
|
|
- <a href='admin_portage.html'>
|
|
|
|
portage</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_prelink.html'>
|
|
|
|
prelink</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_quota.html'>
|
|
|
|
quota</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_readahead.html'>
|
|
|
|
readahead</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_rpm.html'>
|
|
|
|
rpm</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_su.html'>
|
|
|
|
su</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_sudo.html'>
|
|
|
|
sudo</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_tmpreaper.html'>
|
|
|
|
tmpreaper</a><br/>
|
|
|
|
|
|
|
|
- <a href='admin_updfstab.html'>
|
|
|
|
updfstab</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_usbmodules.html'>
|
|
|
|
usbmodules</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
- <a href='admin_usermanage.html'>
|
|
|
|
usermanage</a><br/>
|
|
|
|
|
2006-01-17 20:40:13 +00:00
|
|
|
- <a href='admin_vbetool.html'>
|
|
|
|
vbetool</a><br/>
|
|
|
|
|
2005-09-22 18:40:05 +00:00
|
|
|
- <a href='admin_vpn.html'>
|
|
|
|
vpn</a><br/>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
</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'>
|
|
|
|
|
|
|
|
</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: admin</h1><p/>
|
|
|
|
<h2>Module: sudo</h2><p/>
|
|
|
|
|
|
|
|
<h3>Description:</h3>
|
|
|
|
|
|
|
|
<p><p>Execute a command with a substitute user</p></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a name="templates"></a>
|
|
|
|
<h3>Templates: </h3>
|
|
|
|
|
|
|
|
<a name="link_sudo_per_userdomain_template"></a>
|
|
|
|
<div id="template">
|
|
|
|
|
|
|
|
|
|
|
|
<div id="codeblock">
|
|
|
|
|
|
|
|
<b>sudo_per_userdomain_template</b>(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
userdomain_prefix
|
|
|
|
|
|
|
|
|
2005-09-07 14:45:49 +00:00
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user_domain
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
user_role
|
|
|
|
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
)<br>
|
|
|
|
</div>
|
|
|
|
<div id="description">
|
|
|
|
|
|
|
|
<h5>Summary</h5>
|
|
|
|
<p>
|
|
|
|
The per user domain template for the sudo module.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<h5>Description</h5>
|
|
|
|
<p>
|
|
|
|
</p><p>
|
|
|
|
This template creates a derived domain which is allowed
|
|
|
|
to change the linux user id, to run commands as a different
|
|
|
|
user.
|
|
|
|
</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>
|
2006-03-07 14:35:03 +00:00
|
|
|
<p>
|
2005-08-26 15:28:46 +00:00
|
|
|
The prefix of the user domain (e.g., user
|
|
|
|
is the prefix for user_t).
|
2006-03-07 14:35:03 +00:00
|
|
|
</p>
|
2005-08-26 15:28:46 +00:00
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
2005-09-07 14:45:49 +00:00
|
|
|
<tr><td>
|
|
|
|
user_domain
|
|
|
|
</td><td>
|
2006-03-07 14:35:03 +00:00
|
|
|
<p>
|
2005-09-07 14:45:49 +00:00
|
|
|
The type of the user domain.
|
2006-03-07 14:35:03 +00:00
|
|
|
</p>
|
2005-09-07 14:45:49 +00:00
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
|
|
|
<tr><td>
|
|
|
|
user_role
|
|
|
|
</td><td>
|
2006-03-07 14:35:03 +00:00
|
|
|
<p>
|
2005-09-07 14:45:49 +00:00
|
|
|
The role associated with the user domain.
|
2006-03-07 14:35:03 +00:00
|
|
|
</p>
|
2005-09-07 14:45:49 +00:00
|
|
|
</td><td>
|
|
|
|
No
|
|
|
|
</td></tr>
|
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<a href=#top>Return</a>
|
|
|
|
|
|
|
|
|
2005-09-07 14:45:49 +00:00
|
|
|
|
2005-08-26 15:28:46 +00:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|