Leonardo Sandoval | 98d2590 | 2020-05-24 19:50:27 -0700 | [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 "$@" |