{"id":100,"date":"2007-06-24T13:54:00","date_gmt":"2007-06-24T20:54:00","guid":{"rendered":"http:\/\/www.jasemccarty.com\/blog\/2007\/06\/esx-security-banner-at-console-login-with-color.html"},"modified":"2007-06-24T13:54:00","modified_gmt":"2007-06-24T20:54:00","slug":"esx-security-banner-at-console-login-with-color","status":"publish","type":"post","link":"https:\/\/www.jasemccarty.com\/blog\/esx-security-banner-at-console-login-with-color\/","title":{"rendered":"ESX: Security Banner at Console Login with Color"},"content":{"rendered":"<p>The guys at XtraVirt have a good article: <a style=\"font-weight: bold;\" href=\"http:\/\/www.xtravirt.com\/index.php?option=com_content&amp;task=view&amp;id=67&amp;Itemid=65\">ESX3: Security Banner at Console Login<\/a>.  This article tells you how to customize your login prompt and message of the day.<\/p>\n<p>Good information for those that want to customize their login banners.  This article actually works for ESX 2.x and above.<\/p>\n<p>I ran across an application that allows me to easily add color to this login banner, if your console\/ssh client supports it.<\/p>\n<p>The application is MOTD Maker.  You can find it here: <a href=\"http:\/\/edeca.net\/site\/programs:motdmaker\"><span style=\"font-weight: bold;\">http:\/\/edeca.net\/site\/programs:motdmaker<\/span><\/a><\/p>\n<p>So I took the default banner from the above article:<\/p>\n<blockquote>\n<pre>********************************************** WARNING: SECURITY MESSAGE  ********  AUTHORIZED ACCESS TO THIS SYSTEM  ****              ONLY!                 **** ACCESS MUST BE CLEARED WITH ONSITE ****         SECURITY CONTROLLER        **********************************************************************************<\/pre>\n<\/blockquote>\n<p>And pasted it into the MOTD Maker.  Adding colors is really easy with the MOTD Maker, just select the text&#8230;<br \/>\n<a href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd1-781102.jpg\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd1-781100.jpg\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>Select the color you wish to make it:<br \/>\n<a href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd2-764022.jpg\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd2-764019.jpg\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>Now the color will change.<br \/>\n<a href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd3-790197.jpg\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd3-790194.jpg\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>Now I made it uniform by selecting the other asterisks.<br \/>\n<a href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd4-780466.jpg\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd4-780463.jpg\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>Now select &#8220;Generate ANSI&#8221; and either cave this to a file, or save it to your clipboard.  I recommend saving it to a file.  I&#8217;ve had some issues with puTTY when it comes to pasting.<br \/>\n<a href=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd5-795969.jpg\" onblur=\"try {parent.deselectBloggerImageGracefully();} catch(e) {}\"><img decoding=\"async\" style=\"cursor: pointer;\" src=\"http:\/\/www.jasemccarty.com\/blog\/uploaded_images\/motd5-795968.jpg\" border=\"0\" alt=\"\" \/><\/a><\/p>\n<p>If you saved it to a file, you can upload that to your ESX server, and rename it to \/etc\/motd or \/etc\/issue.<\/p>\n<p>Additionally, one thing that they didn&#8217;t mention in the above mentioned article&#8230; \/etc\/issue is for local console connections, and \/etc\/issue.net is for ssh\/terminal connections.<\/p>\n<p>That being said, you could have different information for local or remote connections.  And because \/etc\/motd is run after login, you can add additional information there.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The guys at XtraVirt have a good article: ESX3: Security Banner at Console Login. This article tells you how to customize your login prompt and &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-virtualization"],"_links":{"self":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":1,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":2316,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/posts\/100\/revisions\/2316"}],"wp:attachment":[{"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasemccarty.com\/blog\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}