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 个月前982 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则