AccountManagerPlugin은 사용자 관리를 지원해 주는 Trac 프러그인 이다.
설치 방법
# easy_install http://trac-hacks.org/svn/accountmanagerplugin/0.10
Downloading http://trac-hacks.org/svn/accountmanagerplugin/0.10
Doing subversion checkout from http://trac-hacks.org/svn/accountmanagerplugin/0.10 to /tmp/easy_install-ywwLB6/0.10
Processing 0.10
Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-ywwLB6/0.10/egg-dist-tmp-WZOCHQ
Adding TracAccountManager 0.1.3dev-r2548 to easy-install.pth file
Installed /usr/lib/python2.5/site-packages/TracAccountManager-0.1.3dev_r2548-py2.5.egg
Processing dependencies for TracAccountManager==0.1.3dev-r2548
Finished processing dependencies for TracAccountManager==0.1.3dev-r2548
#
설치 후 Trac Project 페이지 접근이 에러 메시지가 나오는 경에는 apache host conf 파일에
SetEnv PYTHON_EGG_CACHE /tmp/trac-eggs 내용을 추가 한다.
<Location /project> #set up Trac handling
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
#PythonOption TracEnvParentDir /var/lib/trac
PythonOption TracEnv /var/lib/trac/project
PythonOption TracUriRoot /project
SetEnv PYTHON_EGG_CACHE /tmp/trac-eggs
</Location>
Trac 페이지에서 My Account(계정관리) 와 Register(사용자 등록) 사용하기 위에서는 trac.ini 파일에 아래 내용을 추가 한다.
[components]
webadmin.* = enabled
tracrpc.* = enabled
trac.web.auth.loginmodule = disabled
acct_mgr.web_ui.AccountModule = enabled
acct_mgr.web_ui.RegistrationModule = enabled
acct_mgr.admin.AccountManagerAdminPage = enabled
acct_mgr.htfile.HtPasswdStore = enabled
[account-manager]
; configure the plugin to store passwords in the htpasswd format:
password_format = htpasswd
; with Trac 0.10 use this instead:
password_store = HtPasswdStore
; the file where user accounts are stored
; the webserver will need write permissions to this file
; and its parent folder
password_file = /var/lib/trac/kreonetws/.htpasswd
AccountManagerPlugin 메뉴얼

