1nagios_checkdisk_plugSiEnL_isneulxinPuoxl(i8c)y nagios_chencakgdiiossk__cphleucgkidnisk_plugin_selinux(8)
2
3
4
6 nagios_checkdisk_plugin_selinux - Security Enhanced Linux Policy for
7 the nagios_checkdisk_plugin processes
8
10 Security-Enhanced Linux secures the nagios_checkdisk_plugin processes
11 via flexible mandatory access control.
12
13 The nagios_checkdisk_plugin processes execute with the nagios_check‐
14 disk_plugin_t SELinux type. You can check if you have these processes
15 running by executing the ps command with the -Z qualifier.
16
17 For example:
18
19 ps -eZ | grep nagios_checkdisk_plugin_t
20
21
22
24 The nagios_checkdisk_plugin_t SELinux type can be entered via the na‐
25 gios_checkdisk_plugin_exec_t file type.
26
27 The default entrypoint paths for the nagios_checkdisk_plugin_t domain
28 are the following:
29
30 /usr/lib/nagios/plugins/check_disk, /usr/lib/nagios/plug‐
31 ins/check_disk_smb, /usr/lib/nagios/plugins/check_ide_smart,
32 /usr/lib/nagios/plugins/check_linux_raid
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 nagios_checkdisk_plugin policy is very flexible allowing users to setup
42 their nagios_checkdisk_plugin processes in as secure a method as possi‐
43 ble.
44
45 The following process types are defined for nagios_checkdisk_plugin:
46
47 nagios_checkdisk_plugin_t
48
49 Note: semanage permissive -a nagios_checkdisk_plugin_t can be used to
50 make the process type nagios_checkdisk_plugin_t permissive. SELinux
51 does not deny access to permissive process types, but the AVC (SELinux
52 denials) messages are still generated.
53
54
56 SELinux policy is customizable based on least access required. na‐
57 gios_checkdisk_plugin policy is extremely flexible and has several
58 booleans that allow you to manipulate the policy and run nagios_check‐
59 disk_plugin with the tightest access possible.
60
61
62
63 If you want to allow all domains to execute in fips_mode, you must turn
64 on the fips_mode boolean. Enabled by default.
65
66 setsebool -P fips_mode 1
67
68
69
71 SELinux requires files to have an extended attribute to define the file
72 type.
73
74 You can see the context of a file using the -Z option to ls
75
76 Policy governs the access confined processes have to these files.
77 SELinux nagios_checkdisk_plugin policy is very flexible allowing users
78 to setup their nagios_checkdisk_plugin processes in as secure a method
79 as possible.
80
81 The following file types are defined for nagios_checkdisk_plugin:
82
83
84
85 nagios_checkdisk_plugin_exec_t
86
87 - Set files with the nagios_checkdisk_plugin_exec_t type, if you want
88 to transition an executable to the nagios_checkdisk_plugin_t domain.
89
90
91 Paths:
92 /usr/lib/nagios/plugins/check_disk, /usr/lib/nagios/plug‐
93 ins/check_disk_smb, /usr/lib/nagios/plugins/check_ide_smart,
94 /usr/lib/nagios/plugins/check_linux_raid
95
96
97 Note: File context can be temporarily modified with the chcon command.
98 If you want to permanently change the file context you need to use the
99 semanage fcontext command. This will modify the SELinux labeling data‐
100 base. You will need to use restorecon to apply the labels.
101
102
104 semanage fcontext can also be used to manipulate default file context
105 mappings.
106
107 semanage permissive can also be used to manipulate whether or not a
108 process type is permissive.
109
110 semanage module can also be used to enable/disable/install/remove pol‐
111 icy modules.
112
113 semanage boolean can also be used to manipulate the booleans
114
115
116 system-config-selinux is a GUI tool available to customize SELinux pol‐
117 icy settings.
118
119
121 This manual page was auto-generated using sepolicy manpage .
122
123
125 selinux(8), nagios_checkdisk_plugin(8), semanage(8), restorecon(8),
126 chcon(1), sepolicy(8), setsebool(8)
127
128
129
130nagios_checkdisk_plugin 23-02-03 nagios_checkdisk_plugin_selinux(8)