Privileged session management for standard Moodle™ LMS installations — fully open source under GPL 3.0, with no restrictions on commercial use. Part of the MuTMS suite.
Allows administrators and privileged users to log in with a low-privilege account and switch to a privileged session only when needed — similar to sudo on Linux. Privileged sessions can be protected with existing MFA factors for additional security.
- Low-privilege daily accounts with on-demand privilege escalation
- Configurable roles and contexts per privileged user
- Optional MFA verification before starting a privileged session
- Useful for working around bugs that appear when a user holds both teacher and student roles in the same course
- Log in as admin
- Go to Site administration / Users / Permissions / Privileged users
- Press Add privileged user
- Select the user to grant sudo access
- Define the roles and contexts where the user will have privileged access
- Optionally enforce MFA for additional security
- Log in with your regular low-privilege account
- Click the user menu in the top right
- Select Start privileged session
- Press Continue or supply your MFA verification code
- End the privileged session once your management tasks are complete
- This plugin uses the Switch role feature internally — course-level privileges appear as "Switched roles" in the Moodle UI
This plugin is included in the MuTMS distribution — no manual installation needed if you use the distribution.
Required plugins:
See online documentation for more information.
MuTMS is an independent open-source project, not affiliated with Moodle HQ.