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.
(B)

Google+

1 Comment

Gertjan

about 3 years ago

This helped, thanks!

Reply

Leave a Comment

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


:-[ (B) (^) (P) (@) (O) (D) :-S ;-( (C) (&) :-$ (E) (~) (K) (I) (L) (8) :-O (T) (G) (F) :-( (H) :-) (*) :-D (N) (Y) :-P (U) (W) ;-)