Added Makefile

This commit is contained in:
Héctor Molinero Fernández
2020-09-29 23:02:32 +02:00
parent 02218ab176
commit 4c3f2038be
7 changed files with 75 additions and 16 deletions

View File

@@ -5,5 +5,5 @@ disable_root: false
chpasswd: { list: ["root:toor"], expire: false }
runcmd:
- printf '%s\n' 'PermitRootLogin yes' >> /etc/ssh/sshd_config
- sed -ni '/^PermitRootLogin\s/!p;$aPermitRootLogin yes' /etc/ssh/sshd_config
- systemctl restart ssh.service