Switch to Server's Admin not working

SYSTEM INFORMATION
OS type and version EL10.2
Webmin version 2.651
Usermin version 2.550
Virtualmin version 8.1.0

Select a domain.
Manage Virtual Server > Switch to Server’s Admin.
Nothing happens, it just stays as root with full access.

Checked the browser network tab: the request to switch_user.cgi comes back with a 200 status but a completely empty body (0 bytes) and no Location header, so the redirect never happens.

SYSTEM INFORMATION
OS type and version Rocky Linux 10.2
Webmin version 2.651
Usermin version 2.550
Virtualmin version 8.1.0 Professional
Theme version 26.50.2
Apache version 2.4.63
Package updates All installed packages are up to date

Seeing the same behavior

Thanks for the heads-up!

This issue is fixed now and will be added to the upcoming Webmin 2.652 release. If you need to make it work now, just apply the patch below and you’re good:

webmin patch https://github.com/webmin/webmin/commit/c8fb790

All works fine now. Is it possible to have this happen in a new tab and keep the original root login, bit of a pain having to log back in as root every time.

Thanks Ilia, much appreciated.

No, currently it isn’t possible. And I doubt that it would be useful, as there is nothing an extra admin can do that root cannot.

You’re welcome!

I would use it to check what is available as the domain admin while adjusting it with root.