Sure, you might want to edit /etc/systemd/system/webhook.service to specify the user, for example a dedicated webhook user created for these tasks only:
[Service]
User=webhook
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice. Thanks for this.
But, is this secure?
The hook scripts in
execute-command
run asroot
when using weebhook as a service (systemd).Sure, you might want to edit
/etc/systemd/system/webhook.service
to specify the user, for example a dedicatedwebhook
user created for these tasks only: