mirror of
https://github.com/saltstack-formulas/sudoers-formula.git
synced 2026-07-15 18:40:03 +02:00
start of sudoers formula
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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
|
||||
#include: /etc/sudoers.d
|
||||
Reference in New Issue
Block a user