1nagios_admin_plugin_selSiEnLuixn(u8x)Policy nagios_adminn_apgliuogsi_nadmin_plugin_selinux(8)
2
3
4
6 nagios_admin_plugin_selinux - Security Enhanced Linux Policy for the
7 nagios_admin_plugin processes
8
10 Security-Enhanced Linux secures the nagios_admin_plugin processes via
11 flexible mandatory access control.
12
13 The nagios_admin_plugin processes execute with the nagios_ad‐
14 min_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_admin_plugin_t
20
21
22
24 The nagios_admin_plugin_t SELinux type can be entered via the na‐
25 gios_admin_plugin_exec_t file type.
26
27 The default entrypoint paths for the nagios_admin_plugin_t domain are
28 the following:
29
30 /usr/lib/nagios/plugins/check_file_age
31
33 SELinux defines process types (domains) for each process running on the
34 system
35
36 You can see the context of a process using the -Z option to ps
37
38 Policy governs the access confined processes have to files. SELinux
39 nagios_admin_plugin policy is very flexible allowing users to setup
40 their nagios_admin_plugin processes in as secure a method as possible.
41
42 The following process types are defined for nagios_admin_plugin:
43
44 nagios_admin_plugin_t
45
46 Note: semanage permissive -a nagios_admin_plugin_t can be used to make
47 the process type nagios_admin_plugin_t permissive. SELinux does not
48 deny access to permissive process types, but the AVC (SELinux denials)
49 messages are still generated.
50
51
53 SELinux policy is customizable based on least access required. na‐
54 gios_admin_plugin policy is extremely flexible and has several booleans
55 that allow you to manipulate the policy and run nagios_admin_plugin
56 with the tightest access possible.
57
58
59
60 If you want to allow all domains to execute in fips_mode, you must turn
61 on the fips_mode boolean. Enabled by default.
62
63 setsebool -P fips_mode 1
64
65
66
68 SELinux requires files to have an extended attribute to define the file
69 type.
70
71 You can see the context of a file using the -Z option to ls
72
73 Policy governs the access confined processes have to these files.
74 SELinux nagios_admin_plugin policy is very flexible allowing users to
75 setup their nagios_admin_plugin processes in as secure a method as pos‐
76 sible.
77
78 STANDARD FILE CONTEXT
79
80 SELinux defines the file context types for the nagios_admin_plugin, if
81 you wanted to store files with these types in a different paths, you
82 need to execute the semanage command to specify alternate labeling and
83 then use restorecon to put the labels on disk.
84
85 semanage fcontext -a -t nagios_admin_plugin_exec_t '/srv/nagios_ad‐
86 min_plugin/content(/.*)?'
87 restorecon -R -v /srv/mynagios_admin_plugin_content
88
89 Note: SELinux often uses regular expressions to specify labels that
90 match multiple files.
91
92 The following file types are defined for nagios_admin_plugin:
93
94
95
96 nagios_admin_plugin_exec_t
97
98 - Set files with the nagios_admin_plugin_exec_t type, if you want to
99 transition an executable to the nagios_admin_plugin_t domain.
100
101
102
103 Note: File context can be temporarily modified with the chcon command.
104 If you want to permanently change the file context you need to use the
105 semanage fcontext command. This will modify the SELinux labeling data‐
106 base. You will need to use restorecon to apply the labels.
107
108
110 semanage fcontext can also be used to manipulate default file context
111 mappings.
112
113 semanage permissive can also be used to manipulate whether or not a
114 process type is permissive.
115
116 semanage module can also be used to enable/disable/install/remove pol‐
117 icy modules.
118
119 semanage boolean can also be used to manipulate the booleans
120
121
122 system-config-selinux is a GUI tool available to customize SELinux pol‐
123 icy settings.
124
125
127 This manual page was auto-generated using sepolicy manpage .
128
129
131 selinux(8), nagios_admin_plugin(8), semanage(8), restorecon(8),
132 chcon(1), sepolicy(8), setsebool(8)
133
134
135
136nagios_admin_plugin 23-10-20 nagios_admin_plugin_selinux(8)