-
Notifications
You must be signed in to change notification settings - Fork 1.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run app from unprivileged user #5450
Comments
Perhaps the Debian sudo setcap 'cap_net_bind_service+ep cap_net_raw+ep' ./AdGuardHome |
@ainar-g, unfortunately I have the same result with these flags: |
Sorry, I'm not sure what it could be then. Other than if you run it as a service, systemd might interfere with that somehow ( |
@ainar-g, nope. Nothing changed |
I'll move this to discussions then, if you don't mind, as I don't think that it's an AdGuard Home issue. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question
Operating system type
Linux, Other (please mention the version in the description)
CPU architecture
AMD64
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
0.107.23
Description
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Linux dns.msftcnsi.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
I'm trying to run the app from unprivileged user. What I exactly do:
adguard
with system groupadguard
root
useradguard
user:chown -R adguard:adguard /opt/AdGuardHome
user
andgroup
fields in the .yaml config file toadguard
(also tried UID and GID after that)Still no success because:
[fatal] listen tcp 0.0.0.0:80: bind: permission denied
The verbose log is attached. Anyone tried it before?
Thank you.
Best regards!
The text was updated successfully, but these errors were encountered: