doas.conf (409B)
1 # root permission for mc 2 permit persist nolog mc as root 3 4 # cmds 5 permit nopass mc cmd ddcutil 6 permit nopass mc cmd mv args -v "/etc/hosts" "/home/mc/.local/share/" 7 permit nopass mc cmd mv args -v "/home/mc/.local/share/hosts" "/etc/" 8 permit nopass mc cmd pacman args -Sy 9 permit nopass mc cmd printf 10 permit nopass mc cmd shutdown 11 permit nopass mc cmd tee args "/sys/class/backlight/intel_backlight/brightness"