Add doas config

This commit is contained in:
ItsDrike 2021-05-24 15:19:05 +02:00
parent 25babf331b
commit b174f9d54d
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD

20
root/etc/doas.conf Normal file
View file

@ -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