Setup doas for ubuntu

This commit is contained in:
Marko Korhonen 2022-10-10 11:25:20 +03:00
parent 1212f1de35
commit 8a9985e3a0
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
3 changed files with 13 additions and 8 deletions

View file

@ -1,2 +1,7 @@
{%@@ if distro_id == "arch" @@%}
permit persist :wheel
permit nopass :wheel as root cmd pacman
{%@@ else @@%}
permit persist :sudo
permit nopass :sudo as root cmd apt
{%@@ endif @@%}