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