Webmin: Change Login Message

In a previous post, we saw how to use a custom logo for the Webmin login page.

In this post, we’ll see how to change the login message displayed.

By default, the message displayed is:

You must enter a username and password to login to the Webmin server on ServerName

This message, as all others, is contained in the en language file.

When using the default Authentic Theme, the file is located at:

For Ubuntu

For CentOS

The line to update is line 150, login_message, as shown below:

When using other themes, the file is located at:

For Ubuntu

For CentOS

The line to update is line 135, session_mesg, as shown below:

 

 

 

Webmin: Use Custom Logo on Login Page

On a default installation, your Webmin login page looks like below:

To suppress both the Webmin logo and the “Webmin” text from the login page, add below to

Webmin > Webmin Configuration > Webmin Themes > Theme Extensions:

 

 

The above will prevent display of both the Webmin logo and text.

To display your own logo in it’s place, go to Webmin > Webmin Configuration > Webmin Themes > Theme Logos:

Set “Logo for unauthenticated users” to yes as shown below.

Click the upload icon to upload your custom logo.

Your login page should now display your custom logo:

 

Note:  While possible to suppress the Webmin logo and text by editing the session_login.cgi file, you should not do so.  Any changes to this file will be over-written on any Webmin update.