From b174f9d54d27c1595bee6147c85d8e84fea9533c Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Mon, 24 May 2021 15:19:05 +0200 Subject: [PATCH] Add doas config --- root/etc/doas.conf | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 root/etc/doas.conf diff --git a/root/etc/doas.conf b/root/etc/doas.conf new file mode 100644 index 0000000..381f83c --- /dev/null +++ b/root/etc/doas.conf @@ -0,0 +1,20 @@ +# doas configuration file +# doas is a sudo-like utility without that many features +# which results in less potentional security vulnerabilities + +# Allow all users in wheel group to execute a command +#permit :wheel + +# Allow all users of the wheel group toperform actions +# as root without authentication +#permit nopass :wheel + +# Don't require password for 5 minutes +# for all users of wheel group +permit persist :wheel + +# Deny a user to execute a command +#deny itsdrike cmd fdisk + +# Allow a user to use command without password +#permit nopass itsdrike cmd reboot