mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
Add securetty-support
This commit is contained in:
parent
b9cc7bf9d8
commit
b78345fe0c
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,9 @@
|
||||||
- name: create login.defs
|
- name: create login.defs
|
||||||
template: src='login.defs.j2' dest='/etc/login.defs' owner=root group=root mode=0444
|
template: src='login.defs.j2' dest='/etc/login.defs' owner=root group=root mode=0444
|
||||||
|
|
||||||
|
- name: create securetty
|
||||||
|
template: src='securetty.j2' dest='/etc/securetty' owner=root group=root mode=0400
|
||||||
|
|
||||||
- name: minimize access
|
- name: minimize access
|
||||||
file: path='{{item}}' mode='go-w' recurse=yes
|
file: path='{{item}}' mode='go-w' recurse=yes
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Reference in a new issue