1semanage-interface(8)                                    semanage-interface(8)
2
3
4

NAME

6       semanage-interface - SELinux Policy Management network interface tool
7

SYNOPSIS

9       semanage  interface  [-h] [-n] [-N] [-S STORE] [ --add -t TYPE -r RANGE
10       interface | --delete interface | --deleteall | --extract | --list  [-C]
11       | --modify -t TYPE -r RANGE interface ]
12
13

DESCRIPTION

15       semanage  is used to configure certain elements of SELinux policy with‐
16       out requiring modification to or  recompilation  from  policy  sources.
17       semanage interface controls the labels assigned to network interfaces.
18
19

OPTIONS

21       -h, --help
22              Show this help message and exit
23
24       -n, --noheading
25              Do not print heading when listing the specified object type
26
27       -N, --noreload
28              Do not reload policy after commit
29
30       -S STORE, --store STORE
31              Select an alternate SELinux Policy Store to manage
32
33       -C, --locallist
34              List local customizations
35
36       -a, --add
37              Add a record of the specified object type
38
39       -d, --delete
40              Delete a record of the specified object type
41
42       -m, --modify
43              Modify a record of the specified object type
44
45       -l, --list
46              List records of the specified object type
47
48       -E, --extract
49              Extract customizable commands, for use within a transaction
50
51       -D, --deleteall
52              Remove all local customizations
53
54       -t TYPE, --type TYPE
55              SELinux type for the object
56
57       -r RANGE, --range RANGE
58              MLS/MCS  Security Range (MLS/MCS Systems only) SELinux Range for
59              SELinux login mapping defaults to the SELinux user record range.
60              SELinux Range for SELinux user defaults to s0.
61
62

EXAMPLE

64       list all interface definitions
65       # semanage interface -l
66       Assign type netif_t and MLS/MCS range s0:c0.c1023 to interface eth0
67       # semanage interface -a -t netif_t -r s0:c0.c1023 eth0
68
69

SEE ALSO

71       selinux(8), semanage(8)
72
73

AUTHOR

75       This man page was written by Daniel Walsh <dwalsh@redhat.com>
76
77
78
79                                   20130617              semanage-interface(8)
Impressum