1
0
Fork 0

doas.conf: allow myself to use dmesg and hdparm without password

This commit is contained in:
Pratham Patel 2022-12-21 15:54:18 +05:30
parent 732ec6fa53
commit c6ce6ceb3a
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
permit persist keepenv pratham
permit nopass keepenv pratham /usr/bin/dmesg
permit nopass keepenv pratham as root cmd /usr/bin/dmesg
permit nopass keepenv pratham as root cmd /usr/bin/hdparm