# Webmin ROOT login fails, SSH works OK

**URL:** <https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542>\
**Category:** Webmin\
**Created:** [December 15, 2017, 11:37pm UTC](https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542 "2017-12-15T23:37:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![calderwood](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/c/8491ac/32.png) [@calderwood](https://forum.virtualmin.com/u/calderwood)\
**Post date:** [December 15, 2017, 11:37pm UTC](https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542/1 "2017-12-15T23:37:29Z")

</div>

I am running GPL on this server for 4 years, but a couple of days ago I lost the ability to login to the CP via Webmin using the ROOT user. I can still log in to individual servers via the Webmin with the server admin user. I still have full SSH root access. Also, I can login from my cell phone via the mobile webmin.  
I cannot login from any desktop or tablet, and have tried from multiple IP addresses and from different ISP accounts (comcast & verizon) but keep getting the message:  
Warning! Login failed. Please try again.  
then it locks out with  
Error - Access denied for XX.XX.XX.XX. The host has been blocked because of too many authentication failures.  
MiniServ.Error lists:  
`[15/Dec/2017:15:47:21 -0500] miniserv.pl started
[15/Dec/2017:15:47:21 -0500] IPv6 support enabled
[15/Dec/2017:15:47:21 -0500] Using MD5 module Digest::MD5
[15/Dec/2017:15:47:21 -0500] PAM authentication enabled
[15/Dec/2017:15:55:02 -0500] [xx.xx.xx.xx] /session_login.cgi : Access denied for xx.xx.xx.xx. The host has been blocked because of too many authentication failures.
`  
denyhosts.allow has the IP address included. `/etc/init.d/webmin restart` clears the IP but you still can’t login.  
I have tried setting the the WebMin panel with Authentication for failed login blocks to OFF, and the login still fails.  
Also, have tried on different computers at different physical locations. All fail every time, except the mobile connection.

Webmin version 1.870  
Usermin version 1.720  
Virtualmin version 6.02  
Theme version Authentic Theme 19.04  
Apache/2.2.15 (Unix)  
CentOS release 6.6 (Final)

---

<div class="post-metadata">

**Author:** ![calderwood](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/c/8491ac/32.png) [@calderwood](https://forum.virtualmin.com/u/calderwood)\
**Post date:** [December 18, 2017, 5:39pm UTC](https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542/2 "2017-12-18T17:39:46Z")

</div>

I have found the cause of the problem. I was able to change the “authentic” theme to “Old Webmin” then log in through the regular login to WebMin, reset the theme to Authentic and it all started working again.

---

<div class="post-metadata">

**Author:** ![fuzzbawl](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/f/bb73d2/32.png) [@fuzzbawl](https://forum.virtualmin.com/u/fuzzbawl)\
**Post date:** [January 5, 2018, 5:01pm UTC](https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542/3 "2018-01-05T17:01:05Z")

</div>

We are seeing this bug as well but changing the theme did not resolve. In our situation, we have root logins only allowed from authorized list of IPs/subnets. It matches IPv4 IPs and subnets just fine but not IPv6. Only seems to affect our Debian 8 servers, our CentOS 6 servers are working as expected.

---

<div class="post-metadata">

**Author:** ![sbit](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/s/278dde/32.png) [@sbit](https://forum.virtualmin.com/u/sbit)\
**Post date:** [April 11, 2018, 1:42pm UTC](https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542/4 "2018-04-11T13:42:52Z")

</div>

I’m having the same issue… but changing the theme didn’t resolve this for me either.

Anyone found a fix?

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 6:15am UTC](https://forum.virtualmin.com/t/webmin-root-login-fails-ssh-works-ok/57542/5 "2020-04-30T06:15:58Z")

</div>

Closed on April 30, 2020, 6:15am UTC


