File tree Expand file tree Collapse file tree 2 files changed +100
-0
lines changed Expand file tree Collapse file tree 2 files changed +100
-0
lines changed Original file line number Diff line number Diff line change 1+ # yamllint disable rule:indentation rule:line-length
2+ # AlmaLinux-8
3+ ---
4+ values :
5+ append_included_files_to_endof_main_config : true
6+ arch : amd64
7+ configpath : /etc
8+ execprefix : /usr/sbin
9+ group : root
10+ included_files :
11+ /etc/sudoers.d/extra-file1 :
12+ users :
13+ foo :
14+ - ALL=(ALL) ALL
15+ /etc/sudoers.d/extra-file2 :
16+ groups :
17+ bargroup :
18+ - ' ALL=(ALL) NOPASSWD: ALL'
19+ /etc/sudoers.d/extra-file3 :
20+ netgroups :
21+ other_netgroup :
22+ - ALL=(ALL) ALL
23+ includedir : /etc/sudoers.d
24+ manage_main_config : false
25+ pkg : sudo
26+ purge_includedir : false
27+ users :
28+ kitchen :
29+ - ' ALL=(root) NOPASSWD: ALL'
Original file line number Diff line number Diff line change 1+ # yamllint disable rule:indentation rule:line-length
2+ # Ubuntu-22.04
3+ ---
4+ values :
5+ aliases :
6+ commands :
7+ PROCESSES :
8+ - /usr/bin/nice
9+ - /bin/kill
10+ - /usr/bin/renice
11+ - /usr/bin/pkill
12+ - /usr/bin/top
13+ hosts :
14+ WEBSERVERS :
15+ - www1
16+ - www2
17+ - www3
18+ users :
19+ ADMINS :
20+ - millert
21+ - dowdy
22+ - mikef
23+ append_included_files_to_endof_main_config : false
24+ arch : amd64
25+ configpath : /etc
26+ defaults :
27+ command_list :
28+ PROCESSES : noexec
29+ generic :
30+ - env_reset
31+ - mail_badpass
32+ - secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
33+ host_list :
34+ www1 : log_year, logfile=/var/log/sudo.log
35+ runas_list :
36+ root : ' !set_logname'
37+ user_list :
38+ ADMINS : ' !lecture'
39+ johndoe : ' !requiretty'
40+ execprefix : /usr/sbin
41+ group : root
42+ groups :
43+ sudo :
44+ - ALL=(ALL) ALL
45+ - ' ALL=(nodejs) NOPASSWD: ALL'
46+ included_files :
47+ /etc/sudoers.d/extra-file :
48+ users :
49+ foo :
50+ - ALL=(ALL) ALL
51+ extra-file-2 :
52+ groups :
53+ bargroup :
54+ - ' ALL=(ALL) NOPASSWD: ALL'
55+ extra-file-3 :
56+ netgroups :
57+ other_netgroup :
58+ - ALL=(ALL) ALL
59+ includedir : /etc/sudoers.d
60+ manage_main_config : true
61+ netgroups :
62+ sysadmins :
63+ - ALL=(ALL) ALL
64+ pkg : sudo
65+ purge_includedir : false
66+ users :
67+ johndoe :
68+ - ALL=(ALL) ALL
69+ - ' ALL=(root) NOPASSWD: /etc/init.d/httpd'
70+ kitchen :
71+ - ' ALL=(root) NOPASSWD: ALL'
You can’t perform that action at this time.
0 commit comments