«ДокуВики». Бэк-энд аутентификации на простых текстовых файлах.

DokuWiki.org, “DokuWiki — Plain Text Authentication Backend”, public translation into Russian from English More about this translation.

See also 23 similar translations

Translate into another language.

Participants

alexgearbox142 points
alexgearbox.blogspot.com56 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next →
1

DokuWiki — Plain Text Authentication Backend

«ДокуВики». Бэк-энд аутентификации на простых текстовых файлах.

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

====== Plain Text Authentication Backend ======

====== Бэк-энд аутентификации на простых текстовых файлах ======

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

This backend uses a plain text file //conf/users.auth.php// to store user information and passwords. Passwords are stored using one way encryption (aka. hashing).

Бэк-энд использует текстовый файл //conf/users.auth.php// для хранения паролей и информации о пользователях. Пароли хранятся в зашифрованном одним типом шифрования виде (т. н. хэширование).

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

This is the default backend.

Данный бэк-энд используется по умолчанию.

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

===== Configuration =====

===== Конфигурация =====

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

The backend will be enabled with the [[config:authtype]] configuration option

Бэк-энд включается в настройке конфигурации «[[ru:config:authtype]]».

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

<code php>$conf['authtype'] = "plain";</code>

<code php>$conf['authtype'] = "plain";</code>

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

(this should be in your conf/local.php )

(Эта строка должна быть в файле //conf/local.php//)

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

===== File Format =====

===== Формат записей в файле =====

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

Empty lines, and everything after a ''#'' character are ignored. Each line contains a colon separated array of 5 fields which are:

Пустые и начинающиеся с символа решётки (#) строки игнорируются. Каждая строка содержит разделённый двоеточиями массив из пяти полей:

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

* **Login** - This has to be a valid [[:pagename]]

* **логин** --- должен соответствовать именованию [[ru:pagename|страниц]];

History of edits (Latest: alexgearbox.blogspot.com 1 year, 5 months ago) §

* **Password** - Encrypted password. The encryption method can be anything accepted by [[config:passcrypt|passcrypt option]] (DokuWiki will autodetect the used encryption)

* **пароль** --- зашифрованный пароль. Метод шифрования пароля задаётся настройкой конфигурации «[[ru:config:passcrypt]]». «ДокуВики» автоматически отпределяет использованное шифрование.

History of edits (Latest: alexgearbox.blogspot.com 1 year, 5 months ago) §

* **Real Name** - Real name of the user

* **настоящее имя** --- настоящее имя пользователя;

History of edits (Latest: alexgearbox.blogspot.com 1 year, 5 months ago) §

* **E-Mail** - Email address of user

* **электропочта** --- адрес электронной почты пользователя;

History of edits (Latest: alexgearbox.blogspot.com 1 year, 5 months ago) §

* **Groups** - Comma separated list of groups a user is member of. The group names must follow the rules of valid [[:pagename]]s.

* **группы** --- разделённый запятыми список групп, в которых состоит пользователь. Названия групп должны соответствовать правилам именования [[ru:pagename|страниц]].

History of edits (Latest: alexgearbox.blogspot.com 1 year, 5 months ago) §

To create MD5 hash values from a string you could use the script [[http://www.splitbrain.org/encode.php|encode/decode]]. Due to the much better built-in functions of DokuWiki this script is deprecated and only stored here for nostalgia.

Для создания MD5-хэша из строки можно использовать скрипт [[http://www.splitbrain.org/encode.php|кодирования-декодирования]]. В «ДокуВики» встроены более хорошие функции шифрования, поэтому предлагаемый сценарий является устаревшим и сохраняется здесь только для ностальгирования.

History of edits (Latest: alexgearbox 1 year, 4 months ago) §

Example:

Пример:

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

<code>andi:ece23254502f07722a98aa5b7c70baa6:Andreas Gohr:andi@splitbrain.org:admin,users,upload</code>

<code>andi:ece23254502f07722a98aa5b7c70baa6:Andreas Gohr:andi@splitbrain.org:admin,users,upload</code>

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

===== Editing =====

===== Редактирование =====

History of edits (Latest: alexgearbox 1 year, 5 months ago) §

Since //conf/users.auth.php// is a plain text file, it can be edited with any text editor.

Т. к. файл //conf/users.auth.php// является простым текстовым файлом, он может быть отредактирован в любом текстовом редакторе.

History of edits (Latest: alexgearbox 1 year, 5 months ago) §
Pages: ← previous Ctrl next →
1

© Андреас Гор и сообщество «ДокуВики». License: CC Attribution-Noncommercial-Share Alike 3.0 Unported