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
gefragt vor 8 Monaten973 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 8 Monaten
profile pictureAWS
EXPERTE
überprüft vor 8 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen