| 1 |
.TH "semanage" "8" "20100223" "" "" |
| 2 |
.SH "NAME" |
| 3 |
semanage \- SELinux Policy Management tool |
| 4 |
|
| 5 |
.SH "SYNOPSIS" |
| 6 |
.B semanage {import,export,login,user,port,interface,module,node,fcontext,boolean,permissive,dontaudit,ibpkey,ibendport} |
| 7 |
... |
| 8 |
.B positional arguments: |
| 9 |
|
| 10 |
.B import |
| 11 |
Import local customizations |
| 12 |
|
| 13 |
.B export |
| 14 |
Output local customizations |
| 15 |
|
| 16 |
.B login |
| 17 |
Manage login mappings between linux users and SELinux confined users |
| 18 |
|
| 19 |
.B user |
| 20 |
Manage SELinux confined users (Roles and levels for an SELinux user) |
| 21 |
|
| 22 |
.B port |
| 23 |
Manage network port type definitions |
| 24 |
|
| 25 |
.B interface |
| 26 |
Manage network interface type definitions |
| 27 |
|
| 28 |
.B module |
| 29 |
Manage SELinux policy modules |
| 30 |
|
| 31 |
.B node |
| 32 |
Manage network node type definitions |
| 33 |
|
| 34 |
.B fcontext |
| 35 |
Manage file context mapping definitions |
| 36 |
|
| 37 |
.B boolean |
| 38 |
Manage booleans to selectively enable functionality |
| 39 |
|
| 40 |
.B permissive |
| 41 |
Manage process type enforcement mode |
| 42 |
|
| 43 |
.B dontaudit |
| 44 |
Disable/Enable dontaudit rules in policy |
| 45 |
|
| 46 |
.B ibpkey |
| 47 |
Manage infiniband pkey type definitions |
| 48 |
|
| 49 |
.B ibendport |
| 50 |
Manage infiniband end port type definitions |
| 51 |
|
| 52 |
.SH "DESCRIPTION" |
| 53 |
semanage is used to configure certain elements of |
| 54 |
SELinux policy without requiring modification to or recompilation |
| 55 |
from policy sources. This includes the mapping from Linux usernames |
| 56 |
to SELinux user identities (which controls the initial security context |
| 57 |
assigned to Linux users when they login and bounds their authorized role set) |
| 58 |
as well as security context mappings for various kinds of objects, such |
| 59 |
as network ports, interfaces, infiniband pkeys and endports, and nodes (hosts) |
| 60 |
as well as the file context mapping. Note that the semanage login command deals |
| 61 |
with the mapping from Linux usernames (logins) to SELinux user identities, |
| 62 |
while the semanage user command deals with the mapping from SELinux |
| 63 |
user identities to authorized role sets. In most cases, only the |
| 64 |
former mapping needs to be adjusted by the administrator; the latter |
| 65 |
is principally defined by the base policy and usually does not require |
| 66 |
modification. |
| 67 |
|
| 68 |
.SH "OPTIONS" |
| 69 |
.TP |
| 70 |
.I \-h, \-\-help |
| 71 |
List help information |
| 72 |
|
| 73 |
.SH "SEE ALSO" |
| 74 |
.BR selinux (8), |
| 75 |
.BR semanage-boolean (8), |
| 76 |
.BR semanage-dontaudit (8), |
| 77 |
.BR semanage-export (8), |
| 78 |
.BR semanage-fcontext (8), |
| 79 |
.BR semanage-import (8), |
| 80 |
.BR semanage-interface (8), |
| 81 |
.BR semanage-login (8), |
| 82 |
.BR semanage-module (8), |
| 83 |
.BR semanage-node (8), |
| 84 |
.BR semanage-permissive (8), |
| 85 |
.BR semanage-port (8), |
| 86 |
.BR semanage-user (8) |
| 87 |
.BR semanage-ibkey (8), |
| 88 |
.BR semanage-ibendport (8), |
| 89 |
|
| 90 |
.SH "AUTHOR" |
| 91 |
This man page was written by Daniel Walsh <[email protected]> |
| 92 |
.br |
| 93 |
and Russell Coker <[email protected]>. |
| 94 |
.br |
| 95 |
Examples by Thomas Bleher <[email protected]>. |
| 96 |
usage: semanage [\-h] |