| 145 | |
| 146 | == Adding Users (optional) == |
| 147 | |
| 148 | You need to create the password file in the same place you specified it in the apache config file (the line above that reads "/somewhere/trac.htpasswd"). |
| 149 | |
| 150 | Use the following commands to create the password file (do 'man htpasswd' to see all the options): |
| 151 | {{{ |
| 152 | # cd /somewhere |
| 153 | # htpasswd -c trac.htpasswd admin |
| 154 | New password: <type password> |
| 155 | Re-type new password: <type password again> |
| 156 | Adding password for user admin |
| 157 | }}} |
| 158 | |
| 159 | After the first user, you dont need the "-c" option anymore: |
| 160 | {{{ |
| 161 | # htpasswd trac.htpasswd john |
| 162 | New password: <type password> |
| 163 | Re-type new password: <type password again> |
| 164 | Adding password for user john |
| 165 | }}} |
| 166 | |
| 167 | After you create the users, you can set their permissions using TracPermissions. |