1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-07 04:20:39 -07:00
moth/packages/router/service/sshd/run
2011-09-23 13:42:02 -06:00

9 lines
182 B
Bash
Executable file

#! /bin/sh
exec 2>&1
if adduser -D -u 0 -h / -s /bin/sh root; then
echo 'root:$1$xAJ7KwiU$BeKJjYGs9r/hY9Ag4qv4I1' | chpasswd --encrypted
done
exec dropbear -r ./rsa.key -E -F