Обновить doas.conf
This commit is contained in:
parent
8f82540cbd
commit
d38c26818d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue