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
asked 7 months ago902 views
1 Answer
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
EXPERT
answered 7 months ago
profile pictureAWS
EXPERT
reviewed 7 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions