antimalware:monitoring:paths

Configure the anti-malware real-time file monitoring paths used when default_monitor_mode is set to /usr/local/maldetect/monitor_paths

sentinel --task=antimalware:monitoring:paths --oper=<path_add|path_del> --value=<string>
Option
Value Description
--oper <string> The operation you want to perform. Operations: path_add, path_del
--value <string> The value you want to add or delete.
--restart <yes> Restart the service after saving settings.

Examples

// add a path
sentinel --task=antimalware:monitoring:paths --oper=path_add --value='/var/spool/cron' --restart

// remove a path
sentinel --task=antimalware:monitoring:paths --oper=path_del --value='/var/spool/cron' --restart