# service cron statuscron is running as pid 7636.# ps ax | grep 7636 - Ss 0:00.00 /usr/sbin/cron -s
2024-05-25T12:50:27 Debug configd.py OPNsense/Cron generated //var/cron/tabs/nobody 2024-05-25T12:50:27 Notice configd.py generate template container OPNsense/Cron 2024-05-25T12:50:27 Notice configd.py [1541edde-25f0-4024-9ea3-bb6e7bc58af8] generate template OPNsense/Cron
# DO NOT EDIT THIS FILE -- OPNsense auto-generated file## User-defined crontab files can be loaded via /etc/cron.d# or /usr/local/etc/cron.d and follow the same format as# /etc/crontab, see the crontab(5) manual page.SHELL=/bin/shPATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin#minute hour mday month wday command# Origin/Description: AcmeClient/AcmeClient Cronjob for Certificate AutoRenewal0 0 * * * /usr/local/sbin/configctl -d 'acmeclient cron-auto-renew'
# crontab -lSHELL=/bin/shPATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbinREQUESTS_CA_BUNDLE=/etc/ssl/cert.pem#minute hour mday month wday command1 * * * * (/usr/local/sbin/configctl -d syslog archive) > /dev/null2 * * * * (/usr/local/sbin/expiretable -v -t 3600 sshlockout) > /dev/null3 * * * * (/usr/local/sbin/expiretable -v -t 3600 virusprot) > /dev/null4 * * * * (/usr/local/etc/rc.expireaccounts) > /dev/null*/4 * * * * (/usr/local/sbin/ping_hosts.sh) > /dev/null0 22 * * * (/usr/local/sbin/configctl -d firmware changelog cron) > /dev/null0 */24 * * * (/usr/local/etc/rc.syshook.d/backup/20-rrd) > /dev/null1 3 1 * * (/usr/local/sbin/configctl -d filter schedule bogons) > /dev/null* * * * * (/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py) > /dev/null
crontab -l -u nobody
su -m nobody -c 'configctl acmeclient cron-auto-renew'
lrwxr-xr-x 1 root wheel 34 May 21 10:50 /usr/local/sbin/configctl -> ../opnsense/service/configd_ctl.py-rwxr-xr-x 1 root wheel 6081 May 21 10:49 /usr/local/opnsense/service/configd_ctl.py
setfacl -m u:nobody:rx /usr/local/sbin/configctl
ls -ld / /usr /usr/local /usr/local/sbin /usr/local/opnsense /usr/local/opnsense/service
# ls -ld / /usr /usr/local /usr/local/sbin /usr/local/opnsense /usr/local/opnsense/service /usr/local/sbin/configctl /usr/local/opnsense/service/configd_ctl.pydrwxr-xr-x 21 root wheel 1024 May 24 21:53 /drwxr-xr-x 13 root wheel 512 Apr 2 15:52 /usrdrwxr-xr-x 17 root wheel 512 Apr 2 15:55 /usr/localdrwxr-xr-x 11 root wheel 512 Apr 2 15:55 /usr/local/opnsensedrwxr-xr-x 6 root wheel 512 May 21 22:27 /usr/local/opnsense/service-rwxr-xr-x 1 root wheel 6081 May 21 10:49 /usr/local/opnsense/service/configd_ctl.pydrwxr-xr-x 2 root wheel 2560 May 21 22:27 /usr/local/sbinlrwxr-xr-x 1 root wheel 34 May 21 10:50 /usr/local/sbin/configctl -> ../opnsense/service/configd_ctl.py