summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2023-12-15 16:09:24 +0200
committerGitHub <noreply@github.com>2023-12-15 16:09:24 +0200
commit0c8b46cbfd05109a45ee4de27f034567569fa3fa (patch)
tree9b25cff7b4cee0dcc03377e2ca583ec699fea532 /netdata.spec.in
parent488dc7779e718e99ea1d792e36d9d6cb63138038 (diff)
ndsudo - a helper to run privileged commands (#16614)
* ndsudo command * added help * make ndsudo setuid to root * fix megacli binary name on FreeBSD * move ndsudo to collectors/plugins.d/ * address PR comments * do not print the command line argument, instead print its index --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index f723ef4586..e31b96f405 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -715,6 +715,9 @@ rm -rf "${RPM_BUILD_ROOT}"
# local-listeners detects the local processes that are listening for connections
%attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/local-listeners
+# ndsudo a helper to run privileged commands
+%attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/ndsudo
+
# Enforce 0644 for files and 0755 for directories
# for the netdata web directory
%defattr(0644,root,root,0755)