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"
|
2017-05-22 13:08:31 +00:00
|
|
|
.B semanage {import,export,login,user,port,interface,module,node,fcontext,boolean,permissive,dontaudit,ibpkey,ibendport}
|
2013-10-11 12:34:44 +00:00
|
|
|
...
|
|
|
|
.B positional arguments:
|
|
|
|
|
|
|
|
.B import
|
2016-08-18 18:29:10 +00:00
|
|
|
Import local customizations
|
2011-07-19 15:38:57 +00:00
|
|
|
|
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
|
|
|
|
2017-05-22 13:08:31 +00:00
|
|
|
.B ibpkey
|
|
|
|
Manage infiniband pkey type definitions
|
|
|
|
|
|
|
|
.B ibendport
|
|
|
|
Manage infiniband end port type definitions
|
|
|
|
|
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
|
2017-05-22 13:08:31 +00:00
|
|
|
as network ports, interfaces, infiniband pkeys and endports, and nodes (hosts)
|
2019-01-31 19:41:40 +00:00
|
|
|
as well as the file context mapping. Note that the semanage login command deals
|
|
|
|
with the mapping from Linux usernames (logins) to SELinux user identities,
|
2008-08-19 19:30:36 +00:00
|
|
|
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"
|
2017-01-11 12:41:09 +00:00
|
|
|
.BR selinux (8),
|
|
|
|
.BR semanage-boolean (8),
|
|
|
|
.BR semanage-dontaudit (8),
|
|
|
|
.BR semanage-export (8),
|
|
|
|
.BR semanage-fcontext (8),
|
|
|
|
.BR semanage-import (8),
|
|
|
|
.BR semanage-interface (8),
|
|
|
|
.BR semanage-login (8),
|
|
|
|
.BR semanage-module (8),
|
|
|
|
.BR semanage-node (8),
|
|
|
|
.BR semanage-permissive (8),
|
|
|
|
.BR semanage-port (8),
|
|
|
|
.BR semanage-user (8)
|
2017-05-22 13:08:31 +00:00
|
|
|
.BR semanage-ibkey (8),
|
|
|
|
.BR semanage-ibendport (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]
|