1 2 3 4 5 6 7
#!/bin/sh PASSWD=rootbeer FLAG=AAAAA echo "root:$PASSWD" | chpasswd echo "$FLAG" > /root/flag.txt /usr/sbin/sshd -D