bearbeitet am February 07, 2007, at 12:06 AM, 2494 Aufrufe
changé le February 07, 2007, at 12:06 AM, 2494 visites
alterato February 07, 2007, at 12:06 AM, 2494 visitores
This is the default configuration page for PmWiki's identity-based authorizations (aka "authuser.php"). See PmWiki.AuthUser for instructions.
This site appears to have the authuser extensions enabled.
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
martin: $1$KypVipBF$muqaEm9YZHEtcHu8An4g10
montois: $1$M61iPk.C$3IDfQNoFFqVS1.wyte/Vr1
hannes: $1$vGg/.Fja$hoNFi.uRkLyBp8KHehd.r0
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 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
@writers: montois, hannes, martin
@admins: martin, hannes, montois
Then use "@group" as a password in ?action=attr or $DefaultPasswords.
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