]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
knot-resolver: Use its own user by default
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 May 2026 18:16:16 +0000 (19:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 21 May 2026 15:28:00 +0000 (15:28 +0000)
We drop privileges explicitely in the configuration file, but in case
someone is doing their own thing, they should run kresd as the kresd
user, too.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/knot-resolver

index 3336d5e9cfc89b4849aa2045d54be6b127f6a15b..81eeb095f4b774299c990a36436888e20b640a34 100644 (file)
@@ -73,8 +73,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        $(UPDATE_AUTOMAKE)
        cd $(DIR_APP) && meson setup \
                --prefix=/usr \
-               -Duser=nobody \
-               -Dgroup=nobody \
+               -Duser=kresd \
+               -Dgroup=kresd \
                -Dkeyfile_default="/var/lib/knot-resolver/root.keys" \
                -Dinstall_root_keys=enabled \
                -Dquic=disabled \