adding some information about plugin
[squirrelmail.git] / plugins / administrator / INSTALL
index 9d57de38fe9128010ab4bb7972b48d16b32c7113..5da30c5d6fd8ebd7ef0e32c11fd13accc278d87c 100644 (file)
@@ -1,16 +1,28 @@
 Administrator Plugin
 --------------------
-2002 Philippe Mingo <philippe@squirrelmail.org>
+Author: Philippe Mingo <philippe@squirrelmail.org>, 2002
 
 In order to use this plugin, you must first activate it using
 conf.pl and then you must change the config/config.php files
 permissions to 660. This file must be owned by the user who you
 want to have access to this plugin (only one user allowed) and
-the group must be the group of the user who is running php.
+the group must be the group of the user who is running php. This 
+authentication method requires posix support in php and doesn't 
+work, if user's id equals to 0.
 
 An alternative method, but less secure, is to add a file called
 admins into the plugin folder with the names of the users that
-you want to allow the use of the plugin.
+you want to allow the use of the plugin. admins file must have 
+empty line after administrator's username. If administrator name
+ends of end-of-file symbol instead of line feed, it will be 
+ignored.
 
 Use this plugin at your own risk, and always remember to make a
 backup of your config.php file before use. 
+
+Order of authentication checks
+------------------------------
+When plugin checks if user can use it, it first checks 
+plugins/administrator/admins file. If file does not exist, plugin
+checks config/admins. If plugin can't find admins file, it tries to
+use uid based authentication.