Login fails on Webmin

Bug #748615 reported by s34n
64
This bug affects 11 people
Affects Status Importance Assigned to Milestone
sudo (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: sudo

Performed clean install of ubuntu-11.04-beta1-server-amd64 with only ssh and LAMP.
Installed Webmin version 1.540 (http://sourceforge.net/projects/webadmin/).
Opened web browser from another machine on local network and connected to webmin server on port 10000.
Entered my ubuntu user name and password.
Received this from Webmin server: Login failed. Please try again.
This happens every time with known good user name and password until it blocks the connecting IP address for multiple failed attempts.
Tested with the previous version of Webmin and have same problem.
I forced a downgrade of sudo package from 1.7.4p4-5ubuntu5 to 1.7.2p7-1ubuntu2.1 and thereafter login to Webmin server was successful.

Revision history for this message
s34n (s34n) wrote :
Revision history for this message
Tim Nelson (iamtim) wrote :

I am having exactly the same problem. Login fails despite known good user and password. I'm not going to downgrade sudo, however. It isn't worth accessing webmin.

Revision history for this message
Alexander Karatarakis (alexkaratarakis) wrote :

Still an issue with current development version of 11.04, which is probably the final one since release is in two days.

Revision history for this message
John c (redbarnroad) wrote :

Solved same issue with Mythbuntu 11.04 - The default webmin user was root, with an unknown password. This did not match my username and password set during install!
Ran this script to set it;
sudo /usr/share/webmin/changepass.pl /etc/webmin root "your-password"
Once in to the web, I added a new webmin user, to match my logon name. Hope this helps someone get it fixed!

Revision history for this message
hopugop (guilhy-nogueira) wrote :

John c's tip solved the problem to me. I'm using Ubuntu 11.04.

Revision history for this message
Evan Adelman (evanadelman) wrote :

ditto - ran into this problem as well. has anyone tried a higher version of sudo instead of downgrading?

Revision history for this message
Philip Argent (pargent) wrote :

I also had this issue.
I just created a password for root using "sudo passwd root"
logged into webmin with root
created a new account in webmin
logged out of webmin
logged into webmin with the new account
disabled root again using "sudo passwd -l root"

Revision history for this message
techrockstar (techrockstar) wrote :

sudo /usr/share/webmin/changepass.pl /etc/webmin root "your-password"

from John C works!

Revision history for this message
Jefe (pgouaillier) wrote :

I discovered that connecting as sudoers works if the user is directly referred in the sudoers file. Normally, users are sudoers by being member of the group admin.

You can test this, just by copying the line:

%admin ALL=(ALL) ALL

and replace "%admin" by the user id.

of course, this does not constitute a solution but I thought this would help troubleshooting.

Changed in sudo (Ubuntu):
status: New → Confirmed
Revision history for this message
Cas (calumlind) wrote :

Just encountered this exact issue and can confirm Jefe's much simpler workaround works. :)

Revision history for this message
Steve Langasek (vorlon) wrote :

I don't see anything here that describes a bug in sudo; webmin seems to simply not support thedefault sudo setup included in Ubuntu. Sounds like something you'll need to take up with webmin upstream.

Changed in sudo (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Erik Zaki (eriksh7) wrote :

sudo /usr/share/webmin/changepass.pl /etc/webmin root "your-password" solved it for me as well
Ubuntu 14.04.5 - Webmin 1.831

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.