blob: d9d526dc7391212668fb4d8808dcdf2dbadb64da [file] [log] [blame]
Dan Walsh1925e1e2013-10-11 08:34:44 -04001.TH "semanage-interface" "8" "20130617" "" ""
2.SH "NAME"
Laurent Bigonville2e938332013-11-06 13:24:01 +01003.B semanage\-interface \- SELinux Policy Management network interface tool
Dan Walsh1925e1e2013-10-11 08:34:44 -04004.SH "SYNOPSIS"
Petr Lautrbach03e87ff2016-06-29 14:05:42 +02005.B semanage interface [\-h] [\-n] [\-N] [\-S STORE] [ \-\-add \-t TYPE \-r RANGE interface | \-\-delete interface | \-\-deleteall | \-\-extract | \-\-list [\-C] | \-\-modify \-t TYPE \-r RANGE interface ]
Dan Walsh1925e1e2013-10-11 08:34:44 -04006
7.SH "DESCRIPTION"
8semanage is used to configure certain elements of
9SELinux policy without requiring modification to or recompilation
10from policy sources. semanage interface controls the labels assigned to network interfaces.
11
12.SH "OPTIONS"
13.TP
14.I \-h, \-\-help
15show this help message and exit
16.TP
17.I \-n, \-\-noheading
18Do not print heading when listing the specified object type
19.TP
20.I \-N, \-\-noreload
21Do not reload policy after commit
22.TP
23.I \-S STORE, \-\-store STORE
24Select an alternate SELinux Policy Store to manage
25.TP
26.I \-C, \-\-locallist
27List local customizations
28.TP
29.I \-a, \-\-add
30Add a record of the specified object type
31.TP
32.I \-d, \-\-delete
33Delete a record of the specified object type
34.TP
35.I \-m, \-\-modify
36Modify a record of the specified object type
37.TP
38.I \-l, \-\-list
39List records of the specified object type
40.TP
41.I \-E, \-\-extract
42Extract customizable commands, for use within a transaction
43.TP
44.I \-D, \-\-deleteall
45Remove all local customizations
46.TP
47.I \-t TYPE, \-\-type TYPE
48SELinux type for the object
49.TP
50.I \-r RANGE, \-\-range RANGE
51MLS/MCS Security Range (MLS/MCS Systems only) SELinux Range for SELinux login mapping defaults to the SELinux user record range. SELinux Range for SELinux user defaults to s0.
52
53.SH EXAMPLE
54.nf
Philipp Gesangc187f0b2016-05-27 17:13:21 +020055list all interface definitions
Laurent Bigonville2e938332013-11-06 13:24:01 +010056# semanage interface \-l
Dan Walsh1925e1e2013-10-11 08:34:44 -040057
58.SH "SEE ALSO"
Alan Jenkins62f05892017-01-11 12:41:09 +000059.BR selinux (8),
60.BR semanage (8)
Dan Walsh1925e1e2013-10-11 08:34:44 -040061
62.SH "AUTHOR"
63This man page was written by Daniel Walsh <dwalsh@redhat.com>