paulbsd-salt/states/sudo/defaults.yaml
2021-03-20 10:40:54 +01:00

26 lines
503 B
YAML

---
sudo:
config:
defaults:
- 'env_reset'
- 'mail_badpass'
- 'secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"'
- 'env_keep += "EDITOR"'
- 'always_set_home'
acls:
root:
group: false
host: ALL
who: ALL:ALL
command: ALL
admin:
group: true
host: ALL
who: ALL
command: ALL
sudo:
group: true
host: ALL
who: ALL:ALL
command: ALL