November 7, 2012

changing motd on amazon EC2 linux

Having changed /etc/motd on my EC2 AMI only to find the original message upon the next spawn, I got annoyed and looked into making the change permanent, as I originally intended.

It turns out that the message of the day is generated by a script, namely /usr/sbin/update-motd. Further, the banner displayed is stored in /etc/update-motd.d/30-banner.

All I had to do now was edit this one file and let it be. Easy!

22 comments:

  1. Thanks for this - I used it help me do this:

    https://codingcraftsman.wordpress.com/2015/06/18/cool-message-of-the-day-on-amazon-linux/

    ReplyDelete
  2. sudo /usr/sbin/update-motd --disable

    ^ Run that to disable, --enable to enable. No file edits necessary.

    ReplyDelete
  3. Amazing weblog. I loved studying your posts. This can be a classic wonderful understand personally. I've book marked that and also I'm looking forward to reading through fresh content articles. Carry on the good perform All In One Seo Backlinks To Rank You In 5$

    ReplyDelete
  4. Great blog, it is helping me now in my work with electronic data room . Thanks!

    ReplyDelete
  5. Furthermore, with person to person communication locales now working to change the way we convey, there are more courses in which sites discover approaches to keep their guests included and educated. tech tips

    ReplyDelete
  6. they are not fully anonymous and also however you will need to donate your own facts in their mind which happens to be quite possibly the most hazardous element. But here, actually that individuals trust in virtually anonymousness and you don't get to provide individuals with your own individual points in an effort to Watch Survivor Series 2012 Online Free on your computer.watch tv shows

    ReplyDelete
  7. It is really a great work and the way in which u r sharing the knowledge is excellent.Thanks for helping me to understand basic concepts. As a beginner in Aws your post help me a lot.Thanks for your informative article
    Aws Online Training

    ReplyDelete
  8. The online tech support firm is a unit committed to offer technical assistance to resolve hardware and software issues found in the computer or laptop.. Techwitty

    ReplyDelete
  9. Nice information about Amazon ec2 My sincere thanks for sharing this post and please Continue to share this post
    Cloud Computing Training in Chennai

    ReplyDelete
  10. tracking app is a phone application that enables you receive text messages that comes into another person's phone.http://www.iphonetrackingapps.com/

    ReplyDelete
  11. Engrossing substance I haven't been finished specified info in a lasting time.Timestamp

    ReplyDelete
  12. The blog writings were so nice, I wished they never ended. Binary to decimal

    ReplyDelete
  13. prone to various deceitful activities which may just take place in your computer system. Fetch the computer tech help to escape all tensions. Darknet Proxy

    ReplyDelete
  14. This is an awesome post.Really very informative and creative contents.Thanks to sharing these concept is a good way to enhance my knowledge. I like this site very much.I like it and help me to develop my knowledge very well.Thank you for this brief explanation....
    AWS Training in Chennai | Best AWS Training in Chennai

    ReplyDelete
  15. A company can only reach to the top if it hires specialists who are well-versed to handle device/network issues of any brand, including HP. These specialists should make for a bright team that can deliver the users any support for HP products.Mike Wallace

    ReplyDelete
  16. Instead of taking your heavy machine to the repair shop which is very time consuming you can just call and get your problem solved. http://www.techwarn.com/remove-riskware-ifeohijack-2-easy-steps-ultimate-guide/

    ReplyDelete