Security checks: Runtime and privileges
What runs and as whom: Horizon, the scheduler and the worker user.
From V8.3.0, these checks run in php artisan rconfig:security-check and in Security Center. Run only this group with:
cd /var/www/html/rconfigphp artisan rconfig:security-check --only=runtimeA failing check shows the fix for your server, with its real paths, on the page and in the command output. The fixes below use the default install folder, /var/www/html/rconfig.
| Check | Severity | Checks that |
|---|---|---|
runtime.worker_user |
Critical | Nothing runs as root |
runtime.scheduler |
High | The scheduler is running |
runtime.queue |
High | Queue workers are running |
Nothing runs as root
Section titled “Nothing runs as root”Check ID: runtime.worker_user · Severity: Critical
Why it matters: Horizon workers run queued jobs and the scheduler runs rConfig commands. Running either as root turns any flaw in a job into full control of the server.
How to fix: Run sudo ./update.sh from /var/www/html/rconfig, then cd /var/www/html/rconfig && sudo php artisan rconfig:check-worker-user.
References: NIST AC-6, CIS Controls 5.4
The scheduler is running
Section titled “The scheduler is running”Check ID: runtime.scheduler · Severity: High
Why it matters: The scheduler runs backups, health checks and the daily security check. If it stops, problems stop being detected.
How to fix: Run sudo ./update.sh from /var/www/html/rconfig, which writes /etc/cron.d/rconfig-core to run the scheduler as the web user. In Docker: restart the rConfig container, whose supervisord starts the scheduler.
References: NIST SI-4, NIS2 21(2)(c)
Queue workers are running
Section titled “Queue workers are running”Check ID: runtime.queue · Severity: High
Why it matters: Horizon runs config downloads, notifications (security alerts included) and the daily security check. Without it, they are queued but never run.
How to fix: Start it under Supervisor as the web user: sudo supervisorctl start rconfig-core-horizon. In Docker: restart the rConfig container, whose supervisord starts Horizon.
References: NIST SI-4, NIS2 21(2)(c)
See Security hardening for the server settings behind these checks.