Extension:Sudo

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Sudo

Release status: beta

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.1 (2010-12-07)
License GPL2+
Download
Added rights

Sudo

Hooks used
UserLogoutComplete

PersonalUrls

Check usage (experimental)

Sudo gives 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.

[edit] Installation

  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.

[edit] Configuration

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;
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox