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 “session_login.cgi” and edit it in here…, /usr/libexec/webmin/authentic-theme/session_login.cgi and remove the Webmin heading and logo by taking out the code lines below:
Look for the line code: #114 to #119 and remove the code.
print '<i class="wbm-webmin"></i><h2 class="form-signin-heading">
<span>'
. (
&get_product_name() eq 'webmin'
? $Atext{'theme_xhred_titles_wm'}
: $Atext{'theme_xhred_titles_um'}
) . '</span></h2>' . "\n";
I removed the “must enter username and password…” text code by removing the line #126:
print '<p class="form-signin-paragraph">' .
&Atext('login_message') . '<strong> ' . $host .
'</strong></p>' . "\n";
Here is the semi-final result:
NOTE: After a Webmin update you will have to redo all steps!
We are not done yet!
Now let’s remove the “Login to Webmin” in the browser tab title.
Locate the file in /usr/libexec/webmin/authentic-theme/authentic-lib.pm
Comment out lines #1749 to #1755 to remove the page title.
Now verified that the title is gone! You will see your *”domain name” instead of the “Login to Webmin” title.
We are almost done here!
Now let’s remove or change the Webmin favicon.ico
Navigate to /usr/libexec/webmin/ and locate the favicon.ico and rename it to favicon.ico-renamed. Upload your own favicon.ico in /usr/libexec/webmin/
Here is the final result:
My last suggestion would be to change your webmin port 10000 to another one.
Here you go!