mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 20:54:34 +00:00
Add doas config
This commit is contained in:
parent
25babf331b
commit
b174f9d54d
20
root/etc/doas.conf
Normal file
20
root/etc/doas.conf
Normal 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
|
Loading…
Reference in a new issue