{"id":1148,"date":"2018-11-05T08:30:14","date_gmt":"2018-11-05T07:30:14","guid":{"rendered":"https:\/\/www.apvnorge.no\/?p=1148"},"modified":"2018-11-05T08:31:29","modified_gmt":"2018-11-05T07:31:29","slug":"1148-2","status":"publish","type":"post","link":"https:\/\/www.apvnorge.no\/cz\/1148-2\/","title":{"rendered":"How change what&#8217;s displayed before login to shell or after"},"content":{"rendered":"<div id=\"apvno-1609652073\" class=\"apvno-before-content apvno-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7003427967427457\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:inline-block;width:970px;height:250px;\" \ndata-ad-client=\"ca-pub-7003427967427457\" \ndata-ad-slot=\"6272152047\"><\/ins> \n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div><p><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: \"ca-pub-7003427967427457\", enable_page_level_ads: true }); <\/script><br \/>\n<!-- Global site tag (gtag.js) - Google Analytics --><br \/>\n<script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=UA-118718056-1\"><\/script><br \/>\n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n  gtag('config', 'UA-118718056-1');\n<\/script><br \/>\n<!-- Global site tag (gtag.js) - Google Analytics --><br \/>\n<script async src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=UA-118718056-1\"><\/script><br \/>\n<script>\n  window.dataLayer = window.dataLayer || [];\n  function gtag(){dataLayer.push(arguments);}\n  gtag('js', new Date());\n  gtag('config', 'UA-118718056-1');\n<\/script><\/p>\n<h2><strong>How change what&#8217;s displayed before login to shell or after<\/strong><\/h2>\n<pre class=\"brush: powershell; title: ; notranslate\" title=\"\">\r\n\r\n<strong>Before login<\/strong>\r\nThe text displayed before the login prompt is stored in \/etc\/issue \r\n\r\n<strong>After login<\/strong>\r\nThe text displayed after login is stored in \/etc\/motd, \r\n\r\nIt's just a normal text file, but it accepts many of escape sequences:\r\n\r\n\\b -- Baudrate of the current line.\r\n\\d -- Current date.\r\n\\s -- System name, the name of the operating system.\r\n\\l -- Name of the current tty line.\r\n\\m -- Architecture identifier of the machine, eg. i486\r\n\\n -- Nodename of the machine, also known as the hostname.\r\n\\o -- Domainname of the machine.\r\n\\r -- Release number of the OS, eg. 1.1.9.\r\n\\t -- Current time.\r\n\\u -- Number of current users logged in.\r\n\\U -- The string \"1 user\" or \" users\" where is the number of current users logged in.\r\n\\v -- Version of the OS, eg. the build-date etc.\r\n<\/pre>\n<hr \/>\n<div id=\"apvno-1708126710\" class=\"apvno-after apvno-entity-placement\"><script>\r\n_adsys_id = 33949;\r\n_adsys_size = 1;\r\n<\/script>\r\n<script src=\"https:\/\/d.wedosas.net\/d.js\"><\/script>    \r\n<\/br>\r\n<div>\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- AD-4 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:inline-block;width:970px;height:250px\"\r\n     data-ad-client=\"ca-pub-7003427967427457\"\r\n     data-ad-slot=\"6272152047\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\r\n<a href=\"https:\/\/affiliates.ssl.com\/820-3-1-13.html\" target=\"_blank\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" style=\"border:0px\" src=\"https:\/\/i0.wp.com\/affiliates.ssl.com\/media\/banners\/SSL-banner-UC-certificate-2-v5.png?resize=640%2C79&#038;ssl=1\" width=\"640\" height=\"79\" alt=\"Microsoft Exchange SAN UCC SSL\"><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>How change what&#8217;s displayed before login to shell or after Before login The text displayed before the login prompt is stored in \/etc\/issue After login The text displayed after login is stored in \/etc\/motd, It&#8217;s just a normal text file, but it accepts many of escape sequences: \\b &#8212; Baudrate of the current line. \\d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":795,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[33],"tags":[35,36,34],"class_list":["post-1148","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-debian","tag-how-to","tag-linux"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"cz","enabled_languages":["en","no","cz"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"no":{"title":false,"content":false,"excerpt":false},"cz":{"title":false,"content":false,"excerpt":false}}},"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.apvnorge.no\/wp-content\/uploads\/2018\/05\/news-banner-1.png?fit=149%2C135&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9T0bk-iw","jetpack-related-posts":[],"jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/posts\/1148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/comments?post=1148"}],"version-history":[{"count":3,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/posts\/1148\/revisions"}],"predecessor-version":[{"id":1151,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/posts\/1148\/revisions\/1151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/media\/795"}],"wp:attachment":[{"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/media?parent=1148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/categories?post=1148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apvnorge.no\/cz\/wp-json\/wp\/v2\/tags?post=1148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}