1NetworkManager_selinux(8)SELinux Policy NetworkManagerNetworkManager_selinux(8)
2
3
4
6 NetworkManager_selinux - Security Enhanced Linux Policy for the Net‐
7 workManager processes
8
10 Security-Enhanced Linux secures the NetworkManager processes via flexi‐
11 ble mandatory access control.
12
13 The NetworkManager processes execute with the NetworkManager_t SELinux
14 type. You can check if you have these processes running by executing
15 the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep NetworkManager_t
20
21
22
24 The NetworkManager_t SELinux type can be entered via the NetworkMan‐
25 ager_exec_t file type.
26
27 The default entrypoint paths for the NetworkManager_t domain are the
28 following:
29
30 /usr/bin/teamd, /usr/sbin/wicd, /usr/bin/NetworkManager,
31 /usr/bin/wpa_supplicant, /usr/sbin/NetworkManager, /usr/sbin/wpa_sup‐
32 plicant, /usr/sbin/nm-system-settings
33
35 SELinux defines process types (domains) for each process running on the
36 system
37
38 You can see the context of a process using the -Z option to ps
39
40 Policy governs the access confined processes have to files. SELinux
41 NetworkManager policy is very flexible allowing users to setup their
42 NetworkManager processes in as secure a method as possible.
43
44 The following process types are defined for NetworkManager:
45
46 NetworkManager_t, NetworkManager_dispatcher_t, NetworkManager_dispatcher_custom_t, NetworkManager_dispatcher_chronyc_t, NetworkManager_dispatcher_cloud_t, NetworkManager_dispatcher_console_t, NetworkManager_dispatcher_ddclient_t, NetworkManager_dispatcher_dhclient_t, NetworkManager_dispatcher_dnssec_t, NetworkManager_dispatcher_iscsid_t, NetworkManager_dispatcher_sendmail_t, NetworkManager_dispatcher_tlp_t, NetworkManager_dispatcher_winbind_t, NetworkManager_priv_helper_t, NetworkManager_ssh_t
47
48 Note: semanage permissive -a NetworkManager_t can be used to make the
49 process type NetworkManager_t permissive. SELinux does not deny access
50 to permissive process types, but the AVC (SELinux denials) messages are
51 still generated.
52
53
55 SELinux policy is customizable based on least access required. Net‐
56 workManager policy is extremely flexible and has several booleans that
57 allow you to manipulate the policy and run NetworkManager with the
58 tightest access possible.
59
60
61
62 If you want to dontaudit all daemons scheduling requests (setsched,
63 sys_nice), you must turn on the daemons_dontaudit_scheduling boolean.
64 Enabled by default.
65
66 setsebool -P daemons_dontaudit_scheduling 1
67
68
69
70 If you want to deny all system processes and Linux users to use blue‐
71 tooth wireless technology, you must turn on the deny_bluetooth boolean.
72 Disabled by default.
73
74 setsebool -P deny_bluetooth 1
75
76
77
78 If you want to deny any process from ptracing or debugging any other
79 processes, you must turn on the deny_ptrace boolean. Disabled by de‐
80 fault.
81
82 setsebool -P deny_ptrace 1
83
84
85
86 If you want to allow all domains to execute in fips_mode, you must turn
87 on the fips_mode boolean. Enabled by default.
88