Merge pull request #73 from myii/fix/ensure-map-data-directly-under-values
fix(_mapdata): ensure map data is directly under `values`
This commit is contained in:
commit
4df78f2112
15 changed files with 911 additions and 927 deletions
|
@ -6,9 +6,7 @@
|
|||
{%- from tplroot ~ "/map.jinja" import sudoers with context %}
|
||||
|
||||
{%- set _mapdata = {
|
||||
"values": {
|
||||
"sudoers": sudoers,
|
||||
}
|
||||
"values": sudoers,
|
||||
} %}
|
||||
{%- do salt["log.debug"]("### MAP.JINJA DUMP ###\n" ~ _mapdata | yaml(False)) %}
|
||||
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Amazon Linux AMI-2018
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Amazon Linux-2
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Arch
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# CentOS-6
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# CentOS Linux-7
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# CentOS Linux-8
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Debian-10
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Debian-9
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Fedora-31
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Fedora-32
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Leap-15
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Ubuntu-16.04
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Ubuntu-18.04
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
|
@ -2,70 +2,69 @@
|
|||
# Ubuntu-20.04
|
||||
---
|
||||
values:
|
||||
sudoers:
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
aliases:
|
||||
commands:
|
||||
PROCESSES:
|
||||
- /usr/bin/nice
|
||||
- /bin/kill
|
||||
- /usr/bin/renice
|
||||
- /usr/bin/pkill
|
||||
- /usr/bin/top
|
||||
hosts:
|
||||
WEBSERVERS:
|
||||
- www1
|
||||
- www2
|
||||
- www3
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
ADMINS:
|
||||
- millert
|
||||
- dowdy
|
||||
- mikef
|
||||
arch: amd64
|
||||
configpath: /etc
|
||||
defaults:
|
||||
command_list:
|
||||
PROCESSES: noexec
|
||||
generic:
|
||||
- env_reset
|
||||
- mail_badpass
|
||||
- secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
host_list:
|
||||
www1: log_year, logfile=/var/log/sudo.log
|
||||
runas_list:
|
||||
root: '!set_logname'
|
||||
user_list:
|
||||
ADMINS: '!lecture'
|
||||
johndoe: '!requiretty'
|
||||
execprefix: /usr/sbin
|
||||
group: root
|
||||
groups:
|
||||
sudo:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(nodejs) NOPASSWD: ALL'
|
||||
included_files:
|
||||
/etc/sudoers.d/extra-file:
|
||||
users:
|
||||
foo:
|
||||
- ALL=(ALL) ALL
|
||||
extra-file-2:
|
||||
groups:
|
||||
bargroup:
|
||||
- 'ALL=(ALL) NOPASSWD: ALL'
|
||||
extra-file-3:
|
||||
netgroups:
|
||||
other_netgroup:
|
||||
- ALL=(ALL) ALL
|
||||
includedir: /etc/sudoers.d
|
||||
manage_main_config: true
|
||||
netgroups:
|
||||
sysadmins:
|
||||
- ALL=(ALL) ALL
|
||||
pkg: sudo
|
||||
purge_includedir: false
|
||||
users:
|
||||
johndoe:
|
||||
- ALL=(ALL) ALL
|
||||
- 'ALL=(root) NOPASSWD: /etc/init.d/httpd'
|
||||
kitchen:
|
||||
- 'ALL=(root) NOPASSWD: ALL'
|
||||
|
|
Loading…
Reference in a new issue