Installing Lockout
==================

1) Start with untaring the file into the plugins directory.
   Here is a example for the 1.0 version of the lockout plugin.

  $ cd plugins
  $ tar -zxvf lockout-1.0-1.2.tar.gz

2) Change into the lockout/data directory, copy 
   lockout_table.dat.sample to lockout_table.dat and 
   edit lockout_table.dat to build the list of users
   and domains to lock out.

  $ cd lockout/data
  $ cp lockout_table.dat.sample lockout_table.dat
  $ vi lockout_table.dat

3) Copy config.php.sample to config.php and edit config.php, 
   making adjustments as you deem necessary (no changes are
   needed for most installations).  

  $ cp config.php.sample config.php
  $ vi config.php

4) Then go to your config directory and run conf.pl.  Choose
   option 8 and move the plugin from the "Available Plugins"
   category to the "Installed Plugins" category.  Save and exit.

  $ cd ../../../config/
  $ ./conf.pl

5) Also, please verify that you have the "compatibility" plugin
   installed.



Upgrading Lockout
=================

1) Start with untaring the file into the plugins directory.
   Here is a example for the 1.0 version of the lockout plugin.

  $ cd plugins
  $ tar -zxvf lockout-1.0-1.2.tar.gz

2) Change into the lockout/data directory, check your lockout_table.dat
   and config.php files against the new versions, to see if there are 
   any new settings that you must add.

  $ cd lockout/data
  $ diff -Nau lockout_table.dat lockout_table.dat.sample
  $ diff -Nau config.php config.php.sample

   Or simply replace your lockout_table.dat and config.php files with
   the provided samples and reconfigure the plugin from scratch (see 
   step 2 under the installation procedure above).

