1nagios_checkdisk_plugSiEnL_isneulxinPuoxl(i8c)y nagios_chencakgdiiossk__cphleucgkidnisk_plugin_selinux(8)
2
3
4

NAME

6       nagios_checkdisk_plugin_selinux  -  Security  Enhanced Linux Policy for
7       the nagios_checkdisk_plugin processes
8

DESCRIPTION

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

ENTRYPOINTS

24       The  nagios_checkdisk_plugin_t  SELinux  type  can  be  entered via the
25       nagios_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

PROCESS TYPES

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

BOOLEANS

56       SELinux  policy  is  customizable  based  on  least  access   required.
57       nagios_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 deny any process from ptracing or debugging any other
64       processes, you  must  turn  on  the  deny_ptrace  boolean.  Enabled  by
65       default.
66
67       setsebool -P deny_ptrace 1
68
69
70
71       If  you  want  to  allow  any  process  to mmap any file on system with
72       attribute file_type, you must turn on the  domain_can_mmap_files  bool‐
73       ean. Enabled by default.
74
75       setsebool -P domain_can_mmap_files 1
76
77
78
79       If  you want to allow all domains write to kmsg_device, while kernel is
80       executed with systemd.log_target=kmsg parameter, you must turn  on  the
81       domain_can_write_kmsg boolean. Disabled by default.
82
83       setsebool -P domain_can_write_kmsg 1
84
85
86
87       If you want to allow all domains to use other domains file descriptors,
88       you must turn on the domain_fd_use boolean. Enabled by default.
89
90       setsebool -P domain_fd_use 1
91
92
93
94       If you want to allow all domains to have the kernel load  modules,  you
95       must  turn  on  the  domain_kernel_load_modules  boolean.  Disabled  by
96       default.
97
98       setsebool -P domain_kernel_load_modules 1
99
100
101
102       If you want to allow all domains to execute in fips_mode, you must turn
103       on the fips_mode boolean. Enabled by default.
104
105       setsebool -P fips_mode 1
106
107
108
109       If you want to enable reading of urandom for all domains, you must turn
110       on the global_ssp boolean. Disabled by default.
111
112       setsebool -P global_ssp 1
113
114
115

FILE CONTEXTS

117       SELinux requires files to have an extended attribute to define the file
118       type.
119
120       You can see the context of a file using the -Z option to ls
121
122       Policy  governs  the  access  confined  processes  have to these files.
123       SELinux nagios_checkdisk_plugin policy is very flexible allowing  users
124       to  setup their nagios_checkdisk_plugin processes in as secure a method
125       as possible.
126
127       The following file types are defined for nagios_checkdisk_plugin:
128
129
130
131       nagios_checkdisk_plugin_exec_t
132
133       - Set files with the nagios_checkdisk_plugin_exec_t type, if  you  want
134       to transition an executable to the nagios_checkdisk_plugin_t domain.
135
136
137       Paths:
138            /usr/lib/nagios/plugins/check_disk,          /usr/lib/nagios/plug‐
139            ins/check_disk_smb,       /usr/lib/nagios/plugins/check_ide_smart,
140            /usr/lib/nagios/plugins/check_linux_raid
141
142
143       Note:  File context can be temporarily modified with the chcon command.
144       If you want to permanently change the file context you need to use  the
145       semanage fcontext command.  This will modify the SELinux labeling data‐
146       base.  You will need to use restorecon to apply the labels.
147
148

COMMANDS

150       semanage fcontext can also be used to manipulate default  file  context
151       mappings.
152
153       semanage  permissive  can  also  be used to manipulate whether or not a
154       process type is permissive.
155
156       semanage module can also be used to enable/disable/install/remove  pol‐
157       icy modules.
158
159       semanage boolean can also be used to manipulate the booleans
160
161
162       system-config-selinux is a GUI tool available to customize SELinux pol‐
163       icy settings.
164
165

AUTHOR

167       This manual page was auto-generated using sepolicy manpage .
168
169

SEE ALSO

171       selinux(8),  nagios_checkdisk_plugin(8),  semanage(8),   restorecon(8),
172       chcon(1), sepolicy(8) , setsebool(8)
173
174
175
176nagios_checkdisk_plugin            19-04-25 nagios_checkdisk_plugin_selinux(8)
Impressum