Extension:MaintenanceShell

MaintenanceShell provides access to the Maintenance scripts via a Special Page.

''Maintenance scripts are powerful tools which can have a significant impact on your wiki. Many of them require users to have access to the file system. Do not grant rights nor give out the password to the MaintenanceShell lightly.''

Usage

 * 1) Chose the script from the list.
 * 2) Fill in the command line settings as if you were typing the commands via a terminal shell.
 * 3) Supply the MaintenanceShell password
 * 4) Submit the form

Downloads

 * MaintenanceShell 0.1.0 - 16:11, 29 May 2009 (UTC)

Installation
To install this extension:
 * 1) Download the installation package,
 * 2) Unzip and place all files in yourwikidir/extensions/MaintenanceShell/.
 * 3) *MaintenanceShell requires you place the files in this directory and will not work if they are placed elsewhere. Future releases will add an option to relocate the folder if needed.
 * 4) Add the following to LocalSettings.php:

User rights
MaintenanceShell adds a new user right called maintenanceshell, which a user must be granted before they can access the MaintenanceShell page. You may add the right to an existing group, or assign it to a new group and add users to that group. Place the following code in Localsettings.php:

Existing group: New user group:

Setting up the password
The first time you visit the Special:MaintenanceShell page, you will be asked to set the password for the MaintenanceShell. This must be done because the MaintenanceShell works outside of the normal wiki user access system. It is possible for a determined user to access parts of the MaintenanceShell without being logged into the wiki, so one should take care to chose a secure password.

You may change the password by leaving the script and command line fields blank and only filling in the current password. A link will be provided to edit the password.

You may reset the password by deleting the file /extension/MaintenanceShell/.password. The password is stored as an md5 hash inside of this file. Take care to protect it from unauthorized access. MaintenanceShell comes with a default .htaccess file which prevents the web server from serving any file (including the password file) that is within the MaintenanceShell directory.