moth/packages/router/service/sshd/run

10 lines
182 B
Plaintext
Raw Normal View History

#! /bin/sh
exec 2>&1
2011-09-22 18:32:03 -06:00
2011-09-23 13:42:02 -06:00
if adduser -D -u 0 -h / -s /bin/sh root; then
echo 'root:$1$xAJ7KwiU$BeKJjYGs9r/hY9Ag4qv4I1' | chpasswd --encrypted
done
2011-09-22 18:32:03 -06:00
exec dropbear -r ./rsa.key -E -F