Extension:Sudo

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎dansk • ‎español • ‎français • ‎polski • ‎português • ‎sicilianu • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
Sudo
Release status: unmaintained
Implementation User identity
Description Gives the ability for Sudoers on the wiki to login to other users' accounts.
Author(s) Daniel Friesen (Dantmantalk)
Latest version 0.5.0 (2017-07-26)
MediaWiki 1.23+
Database changes No
License GNU General Public License 2.0 or later
Download
Added rights
sudo
Hooks used
UserLogoutComplete
PersonalUrls
Translate the Sudo extension if it is available at translatewiki.net
Check usage and version matrix.

The Sudo extension the ability for Sudoers on the wiki to login to other users' accounts, using "Special:Sudo". This may be used for helping users set their own preferences, testing to see if something in the UI is affected by their login, or changing things under their name.

Sudo does log use of sudo to transfer to another user's accounts, however beyond that there is no tracking of what the sudoed user does. Be careful who you give sudo to as it can be abused in the worst of ways.

Installation[edit]

  • Download and place the file(s) in a directory called Sudo in your extensions/ folder.

Configuration[edit]

The user right "sudo" will have to be set for an existing user group, e.g. "bureaucrat" or preferably for a new user group:

$wgGroupPermissions['bureaucrat']['sudo'] = true;
$wgGroupPermissions['sudo']['sudo'] = true;

Known issues[edit]

  • task T177949 - Sudoer cannot "return to your account" for a blocked account (MW 1.28+)

See also[edit]

  • $wgRequirePasswordforEmailChange — Allows to change the email using this extension (MW 1.20.x to MW 1.26.x) when set to "false". Starting with MW 1.27.0 it is no longer possible to change the email address of an account without knowing the password with the help of this extension. Use the EditAccount extension instead.