By insanityfarm
I backed up /etc/bash.bashrc and made some changes to it, then I decided to revert to my backup version. For some reason now the default DigitalOcean MOTD no longer appears when I login. I always liked that message and want to restore it but I’m not sure where to begin. Since the original /etc/bash.bashrc is back in place, I don’t know what could be different.
It looks like all the original scripts are still in place in /etc/update-motd.d/, I just don’t know the proper way to run them at login.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @insanityfarm
I believe this question was already asked in our community and you can check the other question using this link - https://www.digitalocean.com/community/questions/message-of-the-day-motd-not-displayed
"
Is the MOTD displayed when you log in through the remote console? Make sure that your sshd config allows the MOTD to be shown on login:
UsePAM yes
PrintMotd no
Don’t forget to restart the ssh server/daemon after modifying the config file:
sudo service ssh restart
"
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.