Issue Bug Under Review Quiet

#111097Sudo mode after user switch does not work, supposedly wrongly checks against password of impersonated user instead of original admin user

S P 10/16/26, 07:35 updated 10/16/26, 10:45

Description

I needed to reset a MFA provider on an editor user. I logged into my admin account, went to the BE users module, switched to the MFA-to-be-resetted-user with the switch button, went into his user settings, Account Security and was sudo-prompted for my password. So far so good, but: it did not work, my password was not accepted.

Then I switched back to my admin account, went somewhere where sudo is requested, entered my password, access granted, so I have an active sudo session. Then I switched to the editor user again, went to Account Security, and it worked. I could reset the MFA becasue I was in my own sudo mode.

I suspect when the first sudo modal is triggered after a user switch, it checks falsely against the switched-to user’s password, instead of the switched-from admin password.

Reviews 1

History 24

  1. S P changed subject Sudo mode after user switch does not work, supposedly wrongly checks against password of impersonated user instead of orignal admin user Sudo mode after user switch does not work, supposedly wrongly checks against password of impersonated user instead of original admin user description <span data-processor="relativetime" data-value="2026-10-16T07:37:46+00:00" > 10/16/26, 07:37 </span>