From 8f78ef7803e40c7573f3e4f84639255c4537bb6f Mon Sep 17 00:00:00 2001 From: Rey Date: Wed, 29 Apr 2026 09:00:53 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20usr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr b/usr index 81f17ed..6794ab8 100755 --- a/usr +++ b/usr @@ -20,3 +20,12 @@ echo "Готово" echo "" echo "Имя: $L" echo "Пароль: $P" + +echo "Authorized access only " > /etc/motd + +# Настройка SSH +sed -i '/^Banner/d' /etc/ssh/sshd_config +echo "Banner /etc/issue" >> /etc/ssh/sshd_config +systemctl restart sshd + +echo "Готово" \ No newline at end of file