Commit 407206e2 authored by julian.gethmann's avatar julian.gethmann Committed by yuancun.nie
Browse files

Delete RootLogin file by anaconda

* Anaconda (Fedora's installation routine) may/should create a file to
  allow root login at the very first reboot. This file should be deleted
after properly SSHd configuration.
parent 1a818b7d
......@@ -58,6 +58,12 @@
backup: yes
notify: restart sshd
- name: Delete rootlogin-conf by anaconda
become: yes
name: /etc/sysconfig/sshd-permitrootlogin
state: absent
- name: Add root key
become: yes
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment