mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2024-11-27 22:38:22 +01:00
35 lines
708 B
Plaintext
35 lines
708 B
Plaintext
sudoers:
|
|
users:
|
|
johndoe: 'ALL=(ALL) ALL'
|
|
groups:
|
|
sudo: 'ALL=(ALL) NOPASSWD: ALL'
|
|
defaults:
|
|
- env_reset
|
|
- mail_badpass
|
|
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
aliases:
|
|
hosts:
|
|
WEBSERVERS:
|
|
- www1
|
|
- www2
|
|
- www3
|
|
users:
|
|
ADMINS:
|
|
- millert
|
|
- dowdy
|
|
- mikef
|
|
commands:
|
|
PROCESSES:
|
|
- /usr/bin/nice
|
|
- /bin/kill
|
|
- /usr/bin/renice
|
|
- /usr/bin/pkill
|
|
- /usr/bin/top
|
|
includedir: /etc/sudoers.d
|
|
included_files:
|
|
/etc/sudoers.d/extra-file:
|
|
users:
|
|
foo: 'ALL=(ALL) ALL'
|
|
groups:
|
|
bargroup: 'ALL=(ALL) NOPASSWD: ALL'
|