View Issue Details

IDProjectCategoryView StatusLast Update
0000209My infrastructureGeneralpublic2024-01-14 14:33
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0000209: use sudo instead of su -fm or su -l
DescriptionPut the sudo command right in the nrpe command

The script can be:

/usr/local/libexec/nagios-custom/check_freshports_cache_clearing

The command is

../nrpe.d/freshports-ingress.cfg:command[check_freshports_cache_clearing] = /usr/local/bin/sudo -u freshports /usr/local/libexec/nagios-custom/check_freshports_cache_clearing

Some scripts which just invoked other scripts in order to use su can be consolidated.
TagsNo tags attached.

Activities

dvl

2024-01-14 14:33

manager   ~0000230

That was the only change required.

Issue History

Date Modified Username Field Change
2024-01-14 01:49 dvl New Issue
2024-01-14 01:49 dvl Status new => assigned
2024-01-14 01:49 dvl Assigned To => dvl
2024-01-14 14:33 dvl Status assigned => closed
2024-01-14 14:33 dvl Resolution open => fixed
2024-01-14 14:33 dvl Note Added: 0000230