2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-15 12:22:26 +00:00
repo/extra/opendoas/files/doas.conf

31 lines
1023 B
Plaintext
Raw Normal View History

2020-01-30 13:49:33 +00:00
# Set rules here.
# Priority increases with linenumber.
# See doas.conf(5) for details.
2020-05-18 07:59:34 +00:00
# permit persist :wheel
# permit nopass root
2020-01-30 13:49:33 +00:00
2020-05-18 07:59:34 +00:00
# This config file isn't very powerful at all compared to
# the likes of sudo's. It's very difficult to tell it that
# we want to permit running the package manager and package
# manager alone (hence the 'git'/'env' listings).
#
# Further, the 'persist' feature is too strict and will beg
# you for a password every time 'doas' is run from a script`.
# Despite sudo's complexity, I recommened it over doas for
# better control.
#
# I'm working on a better overall solution.
2020-01-30 13:49:33 +00:00
# Allow wheel to run kiss with password required.
2020-05-18 07:59:34 +00:00
# permit persist :wheel cmd env
# permit persist :wheel cmd git args fetch
# permit persist :wheel cmd git args diff
# permit persist :wheel cmd git args merge
# Allow wheel to run kiss without a password.
2020-05-18 07:59:34 +00:00
# permit nopass :wheel cmd env
# permit nopass :wheel cmd git args fetch
# permit nopass :wheel cmd git args diff
# permit nopass :wheel cmd git args merge