diff --git a/stage3/00-install-yunohost/00-run.sh b/stage3/00-install-yunohost/00-run.sh index 493e9b6..b4d8c70 100755 --- a/stage3/00-install-yunohost/00-run.sh +++ b/stage3/00-install-yunohost/00-run.sh @@ -46,6 +46,10 @@ sed -i '/PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config echo "root:yunohost" | chpasswd EOF +echo "Removing Raspbian sshd banner" +rm /etc/ssh/sshd_config.d/rename_user.conf +rm /usr/share/userconf-pi/sshd_banner + install -m 755 files/check_yunohost_is_installed.sh "${ROOTFS_DIR}/etc/profile.d/" echo "Cleaning ..." @@ -77,4 +81,4 @@ do sleep 1 done sleep 5 -done \ No newline at end of file +done