update doas conf
This commit is contained in:
parent
2664f47bff
commit
c0e0dbfc36
@ -108,13 +108,25 @@ $ doas nano -w /etc/doas.conf
|
|||||||
##
|
##
|
||||||
|
|
||||||
## Allow members of group wheel to execute any command
|
## Allow members of group wheel to execute any command
|
||||||
# permit :wheel
|
permit persist :wheel
|
||||||
|
|
||||||
## Same thing without a password
|
## Same thing without a password
|
||||||
permit nopass :wheel
|
#permit nopass :wheel
|
||||||
|
|
||||||
## Allow tedu to run procmap as root without a password
|
## Allow tedu to run procmap as root without a password
|
||||||
#permit nopass tedu as root cmd /usr/sbin/procmap
|
#permit nopass tedu as root cmd /usr/sbin/procmap
|
||||||
|
|
||||||
|
## Allow members of group power to execute power commands
|
||||||
|
permit nopass :power cmd openrc-shutdown
|
||||||
|
permit nopass :power cmd runit-halt
|
||||||
|
permit nopass :power cmd runit-shutdown
|
||||||
|
permit nopass :power cmd halt
|
||||||
|
permit nopass :power cmd poweroff
|
||||||
|
permit nopass :power cmd reboot
|
||||||
|
permit nopass :power cmd shutdown
|
||||||
|
|
||||||
|
## Allow root user to execute any command
|
||||||
|
permit nopass root
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuración chroot para Hyperbola v0.4
|
## Configuración chroot para Hyperbola v0.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user