Interview Prep/GitHub Actions/Runners, Self-hosted & ARC

`Must not run with sudo` when running `./config.sh`.

BeginnerTroubleshootingRunners, Self-hosted & ARC
Answer

Likely causes → The runner configuration script refuses root.

Diagnose → whoami.

Fix → Create a dedicated user (useradd -m runner), run config.sh as that user, then install the service with sudo ./svc.sh install runner. In containers, set RUNNER_ALLOW_RUNASROOT=1 only if you understand the implications.

Prevent → Bake a non-root runner user into the runner image or AMI.

All GitHub Actions questions Roadmap: GitHub Actions

More on Runners, Self-hosted & ARC