16 lines
239 B
Bash
16 lines
239 B
Bash
#!/bin/bash
|
|
|
|
# Hostname
|
|
echo escape-room > /etc/hostname
|
|
|
|
|
|
# lvl5
|
|
if [ "$USER" = "crime5" ]; then
|
|
if ! pgrep -f "/root/watchdog.py" > /dev/null; then
|
|
/usr/bin/python3 /root/watchdog.py &
|
|
fi
|
|
fi
|
|
|
|
|
|
# SSH
|
|
exec /usr/sbin/sshd -D |