I am writing an application that needs to set DNS using resolvectl, is it possible to use linux capabilities or any other trick (except for sudo or setuid) to use resolvectl dns command without having to become root? I know that systemd-resolved uses dbus, is there a linux capability possible to use it without being root?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.