Risk 0/5 · Safe
arch-core.patch
Result #3704
Comment
The change removes a sudoers template that would have granted the `pihole` user passwordless root execution of `/usr/bin/pihole`. That is a meaningful security improvement: it eliminates an unnecessary privilege-escalation path and reduces the risk of abuse if the `pihole` account or the `pihole` command were compromised. No new execution, persistence, network, or packaging red flags are introduced by this hunk.
@@ -125,11 +125,6 @@ diff -uprN pi-hole-6.3/advanced/Templates/logrotate pi-hole-6.3.cust/advanced/Te
# su #
weekly
create 640 pihole pihole
-diff -uprN pi-hole-6.3/advanced/Templates/pihole.sudo pi-hole-6.3.cust/advanced/Templates/pihole.sudo
---- pi-hole-6.3/advanced/Templates/pihole.sudo 1970-01-01 01:00:00.000000000 +0100
-+++ pi-hole-6.3.cust/advanced/Templates/pihole.sudo 2025-11-27 23:02:14.748944993 +0100
-@@ -0,0 +1 @@
-+pihole ALL=(ALL:ALL) NOPASSWD: /usr/bin/pihole
diff -uprN pi-hole-6.3/gravity.sh pi-hole-6.3.cust/gravity.sh
--- pi-hole-6.3/gravity.sh 2025-11-27 19:10:51.000000000 +0100
+++ pi-hole-6.3.cust/gravity.sh 2025-11-27 23:02:14.734281312 +0100