Access Keys:
Skip to content (Access Key - 0)

Overview

The Sudo Plugin performs the same function as the Unix sudo command, but for Confluence. It allows specified users to impersonate other users without requiring their password.

Possible use cases include:

  • Support: See what the user sees when they ask for support
  • Add news: Create news stories as a specified user such as a P.A. creating news articles on behalf of their boss
  • Remote Scripts: Run scripts as different users, performing searches as joe without requiring a password

How do I control who can sudo?

Use the Plugin Configuration screen to select which users are allowed to use sudo.

Those users can then use the Test Sudo page (sudo/testSudo.action) or SOAP sudo and unsudo methods to change who they are.

Usage

Go to http://<confluence-install>/sudo/home.action and click on Configuration to add users to the sudo list and click on Test Sudo to sudo to another user.

SOAP

The SOAP WSDL can be found at http://<confluence-install>/rpc/soap-axis/sudo?wsdl

Methods:

  • String whoami(String token) Simply, this lists who is currently logged in
  • boolean canUseConfluence(String token, String username) Can the user passed use Confluence
  • void sudo(String token, String tokenAgain, String targetUsername) Change from the current user to the target user without needing the password. Must be performed by an admin.

Support

If you have any problems please add a topic in our Forum.

Toggle Sidebar

Get Support

Adaptavist provide commercial support to help resolve any problems you may have using our open source Confluence plugins [Find out more...]

Need Hosting?

Adaptavist can host your Confluence wiki and open source plugins [Find out more...].

Author

Pinned Pages

  • No pinned pages.

Popular Pages

Browse


Ask questions, get help and report bugs & issues on our Community Site


View old comments

Adaptavist Theme Builder Powered by Atlassian Confluence