moth/packages/router/service/sshd/run

10 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