Remove default sshd banner
This commit is contained in:
parent
5304de9929
commit
c26cb0c3c7
1 changed files with 5 additions and 1 deletions
|
@ -46,6 +46,10 @@ sed -i '/PermitRootLogin/c\PermitRootLogin yes' /etc/ssh/sshd_config
|
||||||
echo "root:yunohost" | chpasswd
|
echo "root:yunohost" | chpasswd
|
||||||
EOF
|
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/"
|
install -m 755 files/check_yunohost_is_installed.sh "${ROOTFS_DIR}/etc/profile.d/"
|
||||||
|
|
||||||
echo "Cleaning ..."
|
echo "Cleaning ..."
|
||||||
|
@ -77,4 +81,4 @@ do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue