Обновить doas.conf

This commit is contained in:
raanima 2024-03-24 18:24:05 +00:00
parent 8f82540cbd
commit d38c26818d
1 changed files with 7 additions and 0 deletions

View File

@ -24,5 +24,12 @@ permit nopass :power cmd shutdown
permit nopass user as root cmd reboot
permit nopass user as root cmd poweroff
permit nopass user as root cmd /sbin/runitctl reboot
permit nopass user as root cmd /sbin/runitctl shutdown
permit nopass user as root cmd /sbin/runitctl halt
permit nopass user as root cmd /sbin/runitctl restart
## Allow root user to execute any command
permit nopass root