Enable MOTD Linux AMI 2023

0

I try to set up a MOTD at Amazon Linux 2023. I follow all the steps bellow, but it still not shows at login.

1 - Create a MOTD at /etc/motd 2 - Edit sshd_config and uncomment a line of Banner 3 - Restart sshd

How can enable the message after login at linux?

Gerald
質問済み 8ヶ月前984ビュー
1回答
0

Hello.

Amazon Linux 2023 seems to refer to files in the following directory, so if you try modifying this file, it may be reflected.
https://github.com/amazonlinux/amazon-linux-2023/issues/358

/usr/lib/motd.d/30-banner
profile picture
エキスパート
回答済み 8ヶ月前
profile pictureAWS
エキスパート
レビュー済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ