1
0
Fork 0
formula-sudoers/pillar.example

45 lines
947 B
Plaintext
Raw Normal View History

2013-08-20 17:32:58 -04:00
sudoers:
users:
johndoe: 'ALL=(ALL) ALL'
groups:
sudo: 'ALL=(ALL) NOPASSWD: ALL'
defaults:
generic:
- env_rset
- mail_badpass
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
user_list:
johndoe: '!requiretty'
ADMINS: '!lecture'
host_list:
www1: 'log_year, logfile=/var/log/sudo.log'
command_list:
PROCESSES: 'noexec'
runas_list:
root: '!set_logname'
2013-08-20 17:32:58 -04:00
aliases:
hosts:
2013-08-20 17:51:13 -04:00
WEBSERVERS:
2013-08-20 17:32:58 -04:00
- www1
- www2
- www3
users:
2013-08-20 17:51:13 -04:00
ADMINS:
2013-08-20 17:32:58 -04:00
- millert
- dowdy
- mikef
commands:
2013-08-20 17:51:13 -04:00
PROCESSES:
2013-08-20 17:32:58 -04:00
- /usr/bin/nice
- /bin/kill
- /usr/bin/renice
- /usr/bin/pkill
- /usr/bin/top
2013-08-20 17:35:57 -04:00
includedir: /etc/sudoers.d
included_files:
/etc/sudoers.d/extra-file:
users:
foo: 'ALL=(ALL) ALL'
groups:
bargroup: 'ALL=(ALL) NOPASSWD: ALL'