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 個月前檢視次數 973 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南