FANDOM


MediaWiki extensions manual - list
Sudo

Release status: stable

Implementation User identity
Description Gives the ability for Sudoers on the wiki to login to other users' accounts.
Author(s) Daniel Friesen (DantmanTalk)
Last version 0.2.6 (2012-03-11)
Database changes<abbr/> no
License GPL2+
Download
Added rights

Sudo

Hooks used
UserLogoutComplete

PersonalUrls

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

  1. Download a snapshot and extract it to your extensions directory. Choose the version that matches your version of MediaWiki.
  2. Add
    require_once( "$IP/extensions/Sudo/Sudo.php" );
    to the bottom of LocalSettings.php.
  3. Installation can now be verified through Special:Version of your wiki.

Configuration Edit

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

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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.