Motd (message of the day) via ssh doesn't triggered as script

Hello Community.

I wanted to implement with motd a server overview (which i found helpfull [GitHub - yboetz/motd: Collection of 'message of the day' scripts]) while logging as user with ssh ( in sshd_config PrintMotd is set). I’ve added the scripts just to /etc/motd.d/ as written but I realize that AlmaLinux just print the text and doesn’t proceed scripts. What’t the point here. In the requirements it says to install update-motd for debian. Is there some similar pkg in Alma?

Thanks in advanced

What about /etc/profile.d/?

1 Like

Ok thanks a lot… this was what I have missed!