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
|
||||
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
|
||||
done
|
||||
|
|
Reference in a new issue