View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000209 | My infrastructure | General | public | 2024-01-14 01:49 | 2024-01-14 14:33 |
| Reporter | dvl | Assigned To | dvl | ||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Summary | 0000209: use sudo instead of su -fm or su -l | ||||
| Description | Put 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. | ||||
| Tags | No tags attached. | ||||