Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
en:manual:contrib:packager_setup_guide [2022/03/30 23:08] i3_relativism further title fixing |
en:manual:contrib:packager_setup_guide [2022/03/30 23:16] i3_relativism [Example config doas] Update old doas config |
||
---|---|---|---|
Line 108: | Line 108: | ||
## Allow members of group wheel to execute any command | ## Allow members of group wheel to execute any command | ||
- | # permit :wheel | + | permit |
## Same thing without a password | ## Same thing without a password | ||
- | permit nopass :wheel | + | #permit nopass :wheel |
## Allow tedu to run procmap as root without a password | ## Allow tedu to run procmap as root without a password | ||
#permit nopass tedu as root cmd / | #permit nopass tedu as root cmd / | ||
+ | |||
+ | ## Allow members of group power to execute power commands | ||
+ | permit nopass :power cmd openrc-shutdown | ||
+ | permit nopass :power cmd runit-halt | ||
+ | permit nopass :power cmd runit-shutdown | ||
+ | permit nopass :power cmd halt | ||
+ | permit nopass :power cmd poweroff | ||
+ | permit nopass :power cmd reboot | ||
+ | permit nopass :power cmd shutdown | ||
+ | |||
+ | ## Allow root user to execute any command | ||
+ | permit nopass root | ||
</ | </ | ||