~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/auth_file/docs/index.rst

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-10-29 15:43:40 UTC
  • mfrom: (1.2.12) (2.1.19 trusty-proposed)
  • Revision ID: package-import@ubuntu.com-20131029154340-2gp39el6cv8bwf2o
Tags: 1:7.2.3-2ubuntu1
* Merge from debian, remaining changes:
  - Link against boost_system because of boost_thread.
  - Add required libs to message/include.am
  - Add upstart job and adjust init script to be upstart compatible.
  - Disable -floop-parallelize-all due to gcc-4.8/4.9 compiler ICE
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57732

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
   :program:`auth_file` is a security risk!  Do not use this plugin with production servers!
9
9
 
10
 
:program:`auth_file` is an authentication plugin that authenticates connections
11
 
using a list of ``username:password`` entries in a plain text file.
 
10
:program:`auth_file` is an :doc:`/administration/authorization` plugin that authenticates connections
 
11
using a list of ``username:password`` entries in a plain text file. When :program:`drizzled` is started with  ``--plugin-add=auth_file``, the file based authorization plugin is enabled with the default users file. Users file can be specified by either specifying ``--auth-file.users=<users file>`` at the time of server startup or by changing the ``auth_file_users`` with ``SET GLOBAL``.
12
12
 
13
13
.. note::
14
14
 
61
61
* ``auth_file_users``
62
62
 
63
63
   :Scope: Global
64
 
   :Dynamic: No
 
64
   :Dynamic: Yes
65
65
   :Option: :option:`--auth-file.users`
66
66
 
67
67
   File to load for usernames and passwords.
94
94
   Welcome to the Drizzle client..  Commands end with ; or \g.
95
95
   ...
96
96
 
 
97
Changing users file at runtime
 
98
-------------------------------
 
99
 
 
100
Users file can be reloaded by::
 
101
 
 
102
   SET GLOBAL auth_file_users=@@auth_file_users
 
103
 
 
104
Moreover, the users file can be changed by::
 
105
 
 
106
   SET GLOBAL auth_file_users=/path/to/new/users/file
 
107
 
97
108
.. _auth_file_authors:
98
109
 
99
110
Authors