Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/research/pulsar/new/index.php?n=Site.AuthUser
Дата изменения: Unknown
Дата индексирования: Tue Apr 12 20:34:27 2016
Кодировка:

Поисковые слова: п п п п р п р п р п р п п р п р п п р п р п п р п р п п р п
Pulsar group | Site / AuthUser

Group

Projects

Observing

Processing

  1. Tempo2 wiki
  2. Updating clock files
  3. Updating ut1.dat

Data Archive

Multimedia

External Links


edit SideBar

AuthUser

This is the default configuration page for PmWiki's identity-based authorizations (aka "authuser.php"). See PmWiki.AuthUser for instructions.

At present this site doesn't appear to have the authuser extensions enabled. To enable them, add the line include_once("$FarmD/scripts/authuser.php"); to your local/config.php file. (See PmWiki.LocalCustomizations.)

Login accounts

Specify login accounts in the form "username: (:encrypt password:)":

    # Examples:
    # alice: (:encrypt wonderland:)
    # bob: (:encrypt builder:)

Note that the passwords will be encrypted when the page is saved, so that the result will look something like:

    # alice: $1$0gcdAN1a$HTdEAXyYYo8Hc9/Xv30Yz1
    # bob: $1$wSP2R80i$sJ593ERCmTtjm3Fk26HCV1

To authorize specific login accounts for pages and groups, use "id:username" as a password in ?action=attr or $DefaultPasswords (see PmWiki.Passwords). Use "id:*" to mean "any logged-in user".

Authorization groups

Authorization groups are specified with a leading "@" sign. Define either the login accounts belonging to a group or the groups for a login account:

    # @writers: alice, bob  
    # carol: @editors, @writers
    # @admins: alice, dave

Then use "@group" as a password in ?action=attr or $DefaultPasswords.

Login accounts from external sources

Obtaining login accounts from external sources (uncomment out appropriate line(s)):

    # htpasswd: /filesystem/path/to/.htpasswd
    # ldap: ldap://ldap.example.com/ou=People,o=example?uid?sub
    # mysql: mysql://[username:password]@localhost/db/table?user,passwd
Page last modified on March 06, 2006, at 10:40 AM