I’m currently running Alpine 3.24 on a headless mini PC for Pi-Hole, which I’ve installed using the native install script, and I’m wondering if I can uninstall sudo and replace it with doas-sudo-shim.

Pi-Hole’s installer made me install sudo even though I already had doas, and I don’t see the point of keeping sudo installed if I don’t need it. From what I understand, doas is more secure and has a smaller attack surface.

  • mmmm@sopuli.xyz
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    11 days ago

    For starters I’d file a bug against pihole so they support both doas and sudo or drop them altogether and make you use either sudo or doas when executing the script. A hard dependency on sudo is really weird imho.