From aaab81bffffb0847c1fe8e31ba7bfc8c0e8526cf Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Tue, 7 Apr 2020 23:22:10 +0300 Subject: opendoas: update configuration --- extra/opendoas/files/doas.conf | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'extra/opendoas/files') diff --git a/extra/opendoas/files/doas.conf b/extra/opendoas/files/doas.conf index 674ed193..32aeff17 100644 --- a/extra/opendoas/files/doas.conf +++ b/extra/opendoas/files/doas.conf @@ -1,12 +1,15 @@ -# Set rules here. -# Priority increases with linenumber. +# /etc/doas.conf # See doas.conf(5) for details. +# KEEP THIS AT THE BOTTOM. -# KEEP THIS AT THE BOTTOM +# This is required if you want to use kiss with 'doas' +# permit keepenv setenv { HOME } :wheel cmd kiss +# permit :wheel cmd git args fetch +# permit :wheel cmd git args merge -# Select one of the following. `keepenv` does not preserve HOME, which is -# necessary for kiss to find packages built by non-root -permit keepenv setenv { HOME } :wheel cmd kiss -#permit nopass keepenv setenv { HOME } :wheel cmd kiss +# Same without asking password +# permit nopass keepenv setenv { HOME } :wheel cmd kiss +# permit nopass :wheel cmd git args fetch +# permit nopass :wheel cmd git args merge -- cgit v1.2.3