paulbsd-salt/states/sudo/defaults.yaml

26 lines
503 B
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
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:
2021-03-20 10:40:54 +01:00
group: false
2020-07-10 00:58:55 +02:00
host: ALL
who: ALL:ALL
command: ALL
admin:
2021-03-20 10:40:54 +01:00
group: true
2020-07-10 00:58:55 +02:00
host: ALL
who: ALL
command: ALL
sudo:
2021-03-20 10:40:54 +01:00
group: true
2020-07-10 00:58:55 +02:00
host: ALL
who: ALL:ALL
2021-03-20 10:40:54 +01:00
command: ALL