Leonardo Sandoval | 8172d67 | 2021-04-22 19:22:11 -0500 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | passwd -d root | ||||
4 | echo "PermitRootLogin yes" >> /etc/ssh/sshd_config | ||||
5 | echo "PermitEmptyPasswords yes" >> /etc/ssh/sshd_config | ||||
6 | mkdir -p /var/run/sshd | ||||
7 | /usr/sbin/sshd -D & | ||||
8 | |||||
9 | exec "$@" |