Config.sh and Run.sh return "Must not run with sudo" #52343
Unanswered
montanizstills
asked this question in
Actions
Replies: 2 comments 3 replies
-
Maybe
instead of
|
Beta Was this translation helpful? Give feedback.
3 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self-Hosted Runner Config Script
Bug
Body
I am not sure if this is a bug or purposeful but the config.sh and run.sh scripts have a clause where any user with the
RUNER_ALLOW_AS_ROOT
flag turned on cannot execute them. Why? Inspecting the svc.sh script it will run as a root-like user. But it must be first configured with the config script which does not like root-like users. Can someone explain this logic?Beta Was this translation helpful? Give feedback.
All reactions