2011-07-19 20:05:23 +00:00
|
|
|
.TH "semanage" "8" "20100223" "" ""
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "NAME"
|
|
|
|
semanage \- SELinux Policy Management tool
|
|
|
|
|
|
|
|
.SH "SYNOPSIS"
|
2013-10-11 12:34:44 +00:00
|
|
|
.B semanage {import,export,login,user,port,interface,module,node,fcontext,boolean,permissive,dontaudit}
|
|
|
|
...
|
|
|
|
.B positional arguments:
|
|
|
|
|
|
|
|
.B import
|
2011-07-19 15:38:57 +00:00
|
|
|
Output local customizations
|
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B export
|
|
|
|
Output local customizations
|
2011-07-19 15:38:57 +00:00
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B login
|
|
|
|
Manage login mappings between linux users and SELinux confined users
|
2011-07-19 20:05:23 +00:00
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B user
|
2011-07-19 20:05:23 +00:00
|
|
|
Manage SELinux confined users (Roles and levels for an SELinux user)
|
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B port
|
2011-07-19 20:05:23 +00:00
|
|
|
Manage network port type definitions
|
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B interface
|
2011-07-19 20:05:23 +00:00
|
|
|
Manage network interface type definitions
|
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B module
|
|
|
|
Manage SELinux policy modules
|
|
|
|
|
|
|
|
.B node
|
2011-07-19 20:05:23 +00:00
|
|
|
Manage network node type definitions
|
2011-07-19 18:21:08 +00:00
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B fcontext
|
2011-07-19 18:21:08 +00:00
|
|
|
Manage file context mapping definitions
|
2011-07-19 20:05:23 +00:00
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B boolean
|
|
|
|
Manage booleans to selectively enable functionality
|
2011-07-19 20:05:23 +00:00
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B permissive
|
|
|
|
Manage process type enforcement mode
|
2008-08-19 19:30:36 +00:00
|
|
|
|
2013-10-11 12:34:44 +00:00
|
|
|
.B dontaudit
|
|
|
|
Disable/Enable dontaudit rules in policy
|
2011-07-19 20:05:23 +00:00
|
|
|
|
2008-08-19 19:30:36 +00:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
semanage is used to configure certain elements of
|
|
|
|
SELinux policy without requiring modification to or recompilation
|
|
|
|
from policy sources. This includes the mapping from Linux usernames
|
|
|
|
to SELinux user identities (which controls the initial security context
|
|
|
|
assigned to Linux users when they login and bounds their authorized role set)
|
|
|
|
as well as security context mappings for various kinds of objects, such
|
|
|
|
as network ports, interfaces, and nodes (hosts) as well as the file
|
|
|
|
context mapping. See the EXAMPLES section below for some examples
|
|
|
|
of common usage. Note that the semanage login command deals with the
|
|
|
|
mapping from Linux usernames (logins) to SELinux user identities,
|
|
|
|
while the semanage user command deals with the mapping from SELinux
|
|
|
|
user identities to authorized role sets. In most cases, only the
|
|
|
|
former mapping needs to be adjusted by the administrator; the latter
|
|
|
|
is principally defined by the base policy and usually does not require
|
|
|
|
modification.
|
|
|
|
|
|
|
|
.SH "OPTIONS"
|
|
|
|
.TP
|
2013-10-11 12:34:44 +00:00
|
|
|
.I \-h, \-\-help
|
|
|
|
List help information
|
|
|
|
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.B selinux (8),
|
|
|
|
.B semanage-boolean (8),
|
|
|
|
.B semanage-dontaudit (8),
|
|
|
|
.B semanage-export (8),
|
|
|
|
.B semanage-fcontext (8),
|
|
|
|
.B semanage-import (8),
|
|
|
|
.B semanage-interface (8),
|
|
|
|
.B semanage-login (8),
|
|
|
|
.B semanage-module (8),
|
|
|
|
.B semanage-node (8),
|
|
|
|
.B semanage-permissive (8),
|
|
|
|
.B semanage-port (8),
|
|
|
|
.B semanage-user (8)
|
2008-08-19 19:30:36 +00:00
|
|
|
|
|
|
|
.SH "AUTHOR"
|
2011-07-19 20:05:23 +00:00
|
|
|
This man page was written by Daniel Walsh <dwalsh@redhat.com>
|
|
|
|
.br
|
|
|
|
and Russell Coker <rcoker@redhat.com>.
|
|
|
|
.br
|
2008-08-19 19:30:36 +00:00
|
|
|
Examples by Thomas Bleher <ThomasBleher@gmx.de>.
|
2013-11-06 12:24:01 +00:00
|
|
|
usage: semanage [\-h]
|