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!

42 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
    Replies
    1. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training India . Nowadays Java has tons of job opportunities on various vertical industry.

      Delete
  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. This comment has been removed by the author.

    ReplyDelete
  17. Besant Technologies has been NO.1 & Best Software Training Institute offering 100% Guaranteed JOB Placements, Cost-Effective, Quality & Real time Training courses on Software Testing (Manual & Automation tools), Digital Marketing (SEO, PPC, SMO), Data Warehousing tools (Informatica 9.5, OBIEE 11g, Qlikview, Cognos BI & TM1, Microstrategy, DataStage), IBM Websphere, Weblogic, PHP & Mysql, Oracle SOA , Core .NET (Asp.net, c#, vb, ado.net) and Advanced .NET (WCF,WPF,Silver light, Linq, websockets), and JAVA training facility in Bangalore.We have helped Freshers, Software Engineers, Working Professionals, business leaders, Corporate Companies and individuals incorporate the Knowledge in to their Minds through hands-on Real time training.So join as Start You Career . Amazon Web Services Training in Bangalore |
    DataScience Training in Bangalore |

    ReplyDelete
  18. How can anyone miss on this blog, Totally be-enchanted by this blog.
    homeepiphany

    ReplyDelete
  19. This can help tech support a lot if they can get the model number of the computer, printer, etc. you are trying to get tech support for. In fact, if you include this they may not even need to ask for the specifications of the computer. best android games download

    ReplyDelete
  20. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.AWS Training in Bangalore

    ReplyDelete
  21. Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.AWS Training in Bangalore|

    ReplyDelete
  22. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.

    Java Training in Bangalore|

    ReplyDelete
  23. It’s great to come across a blog every once in a while that isn’t the same out of date rehashed material. Fantastic read.
    I’ve bookmarked your site, and I’m adding your RSS feeds to my Google account.
    selenium training in bangalore

    ReplyDelete
  24. Those guidelines additionally worked to become a good way to recognize that other people online have the identical fervor like mine to grasp great deal more around this condition.
    aws training in marathahalli

    ReplyDelete
  25. A finish pointed blog, expected to awe individuals.
    USB Backpacks

    ReplyDelete
  26. 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 programming your post help me a lot

    Aws Training in Chennai

    ReplyDelete
  27. If you or your friend is worried about getting quality mobile testing services, visit www.deviqa.com to get instant professional services at affordable cost. Join today to enjoy our services on immediate basis.

    ReplyDelete