mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-29 16:01:04 +01:00
Optimized sudoers for security
This commit is contained in:
parent
cc9a90e590
commit
c45fa6ce94
@ -2,16 +2,9 @@
|
|||||||
pacman: name=sudo state=present
|
pacman: name=sudo state=present
|
||||||
|
|
||||||
- name: create sudoers
|
- name: create sudoers
|
||||||
template: src=sudoers dest=/etc/sudoers
|
copy:
|
||||||
|
src: sudoers
|
||||||
- name: insure group "sudo" exists
|
dest: /etc/sudoers
|
||||||
group:
|
mode: "0440"
|
||||||
name: sudo
|
|
||||||
state: present
|
|
||||||
|
|
||||||
- name: set /etc/sudoers
|
|
||||||
file:
|
|
||||||
path: /etc/sudoers
|
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0440
|
|
||||||
|
Loading…
Reference in New Issue
Block a user