hardening.yml aktualisiert
This commit is contained in:
parent
7dc67f1678
commit
928271d575
@ -8,11 +8,11 @@
|
||||
path: /usr/bin/systemd
|
||||
register: nocontainer
|
||||
|
||||
- name: Remove root-Password
|
||||
user:
|
||||
name: root
|
||||
password: '*'
|
||||
when: nocontainer.stat.exists == true
|
||||
# - name: Remove root-Password
|
||||
# user:
|
||||
# name: root
|
||||
# password: '*'
|
||||
# when: nocontainer.stat.exists == true
|
||||
|
||||
- name: SSHD hardening
|
||||
blockinfile:
|
||||
|
Loading…
Reference in New Issue
Block a user