add "smbstatus -P" to ndsudo (#18414)
Ilya Mashchenko committed
Aug 26, 2024 at 14:11 UTC
4e3c4ef0329ca0720966d9dd6018e8057a333794
1 file changed
+9
src/collectors/plugins.d/ndsudo.c
+9
@@ -13,6 +13,15 @@ struct command {
13
const char *params;
14
const char *search[MAX_SEARCH];
15
} allowed_commands[] = {
16
+ {
17
+ .name = "smbstatus-profile",
18
+ .params = "-P",
19
+ .search =
20
+ {
21
+ [0] = "smbstatus",
22
+ [1] = NULL,
23
+ },
24
+ },
25
{
26
.name = "exim-bpc",
27
.params = "-bpc",