From 44d34f1fc657feb41204a4568ab3430daefc17af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?yJan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 19 May 2017 16:14:17 +0200 Subject: [PATCH] lol, was running as root. --- root/etc/s6.d/sshd/run | 2 +- root/usr/local/bin/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/s6.d/sshd/run b/root/etc/s6.d/sshd/run index 8aedacd..a69af7e 100755 --- a/root/etc/s6.d/sshd/run +++ b/root/etc/s6.d/sshd/run @@ -1,2 +1,2 @@ #!/bin/bash -/usr/sbin/sshd -D -d +exec /usr/sbin/sshd -D diff --git a/root/usr/local/bin/run.sh b/root/usr/local/bin/run.sh index 98a6130..6e11056 100755 --- a/root/usr/local/bin/run.sh +++ b/root/usr/local/bin/run.sh @@ -41,4 +41,4 @@ function writeHostKeys { updateIDs writeAuthKeys writeHostKeys -exec /bin/s6-svscan /etc/s6.d +su-exec /bin/s6-svscan /etc/s6.d