Create New Trac Users on Windows

Trac is an interesting project management software, wiki and issue tracking system. Very light yet powerfull, thats why i use Trac to handle almost every project im involved with. One drawback is that you cannot manually add user account for accessing Trac, unless you installed Trac’s AccountManagerPlugin. Too bad im not able to installed it, thats why i need to find a workaround for handling users.

Trac is using web server authentication by default. To add new users, i need to add the new users in the Apache password file. In my Win32 environment it’s easy, just use htpasswd.exe application in my apache installation directory. Below here is my commands

C:\>cd C:\Program Files\BitNami Trac Stack\apache2\bin
C:\Program Files\BitNami Trac Stack\apache2\bin>htpasswd.exe -cs htpwd.txt edw

It will create a new file named htpwd.txt with user edw inside it. Next is just a simple copy paste from values created in htpwd.txt to my Trac’s htpasswd file. And just restart my Trac to apply my changes.

Another workaround for htpasswd.exe is using online htpasswd generator such as here or here. Just copy the generated output and paste it in your htpasswd file.

1 Comment


about 7 years ago

This helped, thanks!


Leave a Comment

Please be polite. We appreciate that.
Your email address will not be published and required fields are marked