{"id":2783,"date":"2019-10-18T10:40:19","date_gmt":"2019-10-18T14:40:19","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=2783"},"modified":"2019-10-21T10:03:03","modified_gmt":"2019-10-21T14:03:03","slug":"remove-webmin-logo-in-login-screen","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2019\/10\/18\/remove-webmin-logo-in-login-screen\/","title":{"rendered":"Remove Webmin Logo in Login Screen"},"content":{"rendered":"<p><em><strong>Good day!<\/strong><\/em><\/p>\n<p><strong>I am running the latest version:<\/strong> Webmin v1.932<\/p>\n<p>I was searching for a while on how to remove the Webmin logo in the login screen and other stuff related to the Webmin admin page!<\/p>\n<p>Here is the solution that worked for me.<\/p>\n<p>Locate <strong>&#8220;<\/strong><em><strong>session_login.cgi&#8221;<\/strong> and edit it in here&#8230;, <\/em><strong>\u00a0<em>\/usr\/libexec\/webmin\/authentic-theme\/session_login.cgi<\/em><\/strong> and remove the Webmin heading and logo by taking out the code lines below:<\/p>\n<p>Look for the line code: #114 to #119 and remove the code.<\/p>\n<p><code>print '&lt;i class=\"wbm-webmin\"&gt;&lt;\/i&gt;&lt;h2 class=\"form-signin-heading\"&gt;<br \/>\n&lt;span&gt;'<br \/>\n. (<br \/>\n&amp;get_product_name() eq 'webmin'<br \/>\n? $Atext{'theme_xhred_titles_wm'}<br \/>\n: $Atext{'theme_xhred_titles_um'}<br \/>\n) . '&lt;\/span&gt;&lt;\/h2&gt;' . \"\\n\";<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2784\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove.png\" alt=\"\" width=\"1010\" height=\"586\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove.png 1010w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-300x174.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-768x446.png 768w\" sizes=\"auto, (max-width: 1010px) 100vw, 1010px\" \/><\/p>\n<p>I removed the <em>&#8220;must enter username and password&#8230;&#8221;<\/em> text code by removing the line #126:<\/p>\n<p><code>print '&lt;p class=\"form-signin-paragraph\"&gt;' .<br \/>\n&amp;Atext('login_message') . '&lt;strong&gt; ' . $host .<br \/>\n'&lt;\/strong&gt;&lt;\/p&gt;' . \"\\n\";<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2788\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-2.png\" alt=\"\" width=\"903\" height=\"244\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-2.png 903w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-2-300x81.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-2-768x208.png 768w\" sizes=\"auto, (max-width: 903px) 100vw, 903px\" \/><\/p>\n<p><em><strong>Here is the semi-final result:<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2790\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-2.png\" alt=\"\" width=\"1176\" height=\"716\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-2.png 1176w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-2-300x183.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-2-768x468.png 768w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-2-1024x623.png 1024w\" sizes=\"auto, (max-width: 1176px) 100vw, 1176px\" \/><\/p>\n<p><strong>NOTE:<\/strong> After a Webmin update you will have to redo all steps!<\/p>\n<p><em><strong>We are not done yet!<\/strong><\/em><\/p>\n<p>Now let&#8217;s remove the &#8220;<strong>Login to Webmin<\/strong>&#8221; in the browser tab title.<\/p>\n<p><strong>Locate<\/strong> the file in \/usr\/libexec\/webmin\/authentic-theme\/authentic-lib.pm<\/p>\n<p><strong>Comment out lines<\/strong> #1749 to #1755 to remove the page title.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2798\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title.png\" alt=\"\" width=\"899\" height=\"1135\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title.png 899w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-238x300.png 238w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-768x970.png 768w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-811x1024.png 811w\" sizes=\"auto, (max-width: 899px) 100vw, 899px\" \/><\/p>\n<p>Now verified that the title is gone! You will see your *&#8221;domain name&#8221; instead of the &#8220;Login to Webmin&#8221; title.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2799\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-2.png\" alt=\"\" width=\"930\" height=\"495\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-2.png 930w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-2-300x160.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/remove-title-2-768x409.png 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/p>\n<p><em><strong>We are almost done here!<\/strong><\/em><\/p>\n<p>Now let&#8217;s remove or change the <strong>Webmin favicon.ico<\/strong><\/p>\n<p><strong>Navigate to<\/strong> \/usr\/libexec\/webmin\/ and locate the <strong>favicon.ico<\/strong> and rename it to <strong>favicon.ico-renamed<\/strong>. Upload your own <strong>favicon.ico<\/strong> in \/usr\/libexec\/webmin\/<\/p>\n<p><em><strong>Here is the final result:<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2826\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-3.png\" alt=\"\" width=\"1190\" height=\"812\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-3.png 1190w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-3-300x205.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-3-768x524.png 768w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2019\/10\/webmin-logo-remove-final-3-1024x699.png 1024w\" sizes=\"auto, (max-width: 1190px) 100vw, 1190px\" \/><\/p>\n<p>My last suggestion would be to change your webmin port 10000 to another one.<\/p>\n<p><em><strong>Here you go!<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good day! I am running the latest version: Webmin v1.932 I was searching for a while on how to remove the Webmin logo in the login screen and other stuff related to the Webmin admin page! Here is the solution that worked for me. Locate &#8220;session_login.cgi&#8221; and edit it in here&#8230;, \u00a0\/usr\/libexec\/webmin\/authentic-theme\/session_login.cgi and remove the &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2019\/10\/18\/remove-webmin-logo-in-login-screen\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Remove Webmin Logo in Login Screen<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":2809,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/2783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=2783"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/2783\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media\/2809"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=2783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=2783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=2783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}