From bf897d0523fe9017e339e63459a97b74161cbd77 Mon Sep 17 00:00:00 2001 From: Rayhan Hanaputra Date: Sun, 26 Oct 2025 13:42:24 +0700 Subject: [PATCH] fix sheesh --- services/sheesh/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/sheesh/start.sh b/services/sheesh/start.sh index 74ea114..eb1a45e 100644 --- a/services/sheesh/start.sh +++ b/services/sheesh/start.sh @@ -11,7 +11,7 @@ grep -q "^PasswordAuthentication" /etc/ssh/sshd_config && \ sed -i "s/^PasswordAuthentication.*/PasswordAuthentication yes/" /etc/ssh/sshd_config || \ echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config -echo "AllowUsers ctf" >> /etc/ssh/sshd_config +echo "AllowUsers ctfuser" >> /etc/ssh/sshd_config /usr/sbin/sshd @@ -21,4 +21,4 @@ if [ -n "$FLAG" ]; then chown root:root /flag.txt fi -exec su -c "cd /home/ctf/chall/src && ./run.sh" -s /bin/bash ctf +exec su -c "cd /home/ctfuser/chall/src && ./run.sh" -s /bin/bash ctfuser