mirror of
https://github.com/dirtbags/moth.git
synced 2025-01-06 20:10:36 -07:00
9 lines
182 B
Bash
Executable file
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
|