permit nopass $username cmd /usr/sbin/poweroff permit nopass $username cmd /usr/sbin/reboot permit keepenv $username permit persist $username Changelog : 28/11/2025 - Currently, nopass is considered skippable as I am yet to not put my user password in whenever I doas poweroff and/or reboot. - In my own research for the solution of nopass, I couldn't exactly find anyone flaunting their doas.conf files (at least for the ones on Linux), save for some redditors whose doas.conf only contained permit :wheel permit nopass $username (or just permit :wheel). https://old.reddit.com/r/voidlinux/coments/aerof5/doasconf_examples