On 2020/03/26 12:48, Solene Rapenne wrote: > I guess Adding a line to doas.conf to allow install(1) as root should > prevent the error too.
Allowing install as root without password is an even easier privilege escalation than allowing pkg_add without password. doas install -m 4755 -o root /bin/sh /bin/rootsh
