| 10 | |
| 11 | == !HtPasswdStore == |
| 12 | {{{ |
| 13 | [components] |
| 14 | acct_mgr.admin.* = enabled |
| 15 | acct_mgr.api.* = enabled |
| 16 | acct_mgr.db.sessionstore = enabled |
| 17 | acct_mgr.htfile.htdigeststore = disabled |
| 18 | acct_mgr.htfile.htpasswdstore = enabled |
| 19 | acct_mgr.http.httpauthstore = disabled |
| 20 | acct_mgr.notification.* = enabled |
| 21 | acct_mgr.pwhash.htdigesthashmethod = disabled |
| 22 | acct_mgr.pwhash.htpasswdhashmethod = disabled |
| 23 | acct_mgr.svnserve.* = enabled |
| 24 | acct_mgr.svnserve.svnservepasswordstore = disabled |
| 25 | acct_mgr.web_ui.* = enabled |
| 26 | trac.web.auth.loginmodule = disabled |
| 27 | |
| 28 | [account-manager] |
| 29 | password_store = HtPasswdStore |
| 30 | htpasswd_hash_type = md5 |
| 31 | ;password_file = /var/trac/trac.htpasswd # old style (acct_mgr < 0.4) |
| 32 | htpasswd_file = /var/trac/trac.htpasswd # new style (acct_mgr >= 0.4) |
| 33 | }}} |
| 34 | will: |
| 35 | * enable required AccountManagerPlugin core components |
| 36 | * enable [wiki:AccountManagerPlugin/AuthStores#HtPasswdStore HtPasswdStore] module for file-based password store in ''htpasswd'' format |
| 37 | * select this store as the only active one |
| 38 | * use `md5` password hash type for changed/new passwords, hint: use the cryptographically strongest, that is available on your system (and still compatible with other applications in shared-use case) |
| 39 | |
| 40 | ''Note:'' new configuration option 'htpasswd_file' for acct_mgr-0.4 |
| 41 | see [wiki:AccountManagerPlugin/AuthStores#HtPasswdStore HtPasswdStore] module documentation for more details |
| 42 | |
| 44 | {{{ |
| 45 | [components] |
| 46 | acct_mgr.admin.* = enabled |
| 47 | acct_mgr.api.* = enabled |
| 48 | acct_mgr.db.sessionstore = enabled |
| 49 | acct_mgr.htfile.htdigeststore = enabled |
| 50 | acct_mgr.htfile.htpasswdstore = disabled |
| 51 | acct_mgr.http.httpauthstore = disabled |
| 52 | acct_mgr.notification.* = enabled |
| 53 | acct_mgr.pwhash.htdigesthashmethod = disabled |
| 54 | acct_mgr.pwhash.htpasswdhashmethod = disabled |
| 55 | acct_mgr.svnserve.* = enabled |
| 56 | acct_mgr.svnserve.svnservepasswordstore = disabled |
| 57 | acct_mgr.web_ui.* = enabled |
| 58 | trac.web.auth.loginmodule = disabled |
| 59 | |
| 60 | [account-manager] |
| 61 | password_store = HtDigestStore |
| 62 | htdigest_realm = Trac |
| 63 | ;password_file = /var/trac/trac.htdigest # old style (acct_mgr < 0.4) |
| 64 | htdigest_file = /var/trac/trac.htdigest # new style (acct_mgr >= 0.4) |
| 65 | }}} |
| 66 | will: |
| 67 | * enable required AccountManagerPlugin core components |
| 68 | * enable [wiki:AccountManagerPlugin/AuthStores#HtDigestStore HtDigestStore] module for file-based password store in ''htdigest'' format |
| 69 | * select this store as the only active one |
| 70 | * set realm to select relevant htdigest file entries to '`Trac`' |
| 71 | |
| 72 | ''Note:'' new configuration option 'htdigest_file' for acct_mgr-0.4 |
| 73 | see [wiki:AccountManagerPlugin/AuthStores#HtDigestStore HtDigestStore] module documentation for more details |
| 74 | |