Edgewall Software

Changes between Version 12 and Version 13 of Ubuntu-11.04-Subversion


Ignore:
Timestamp:
Dec 23, 2010, 3:31:18 PM (13 years ago)
Author:
gacevedo@…
Comment:

Added info for creating user credentials.

Legend:

Unmodified
Added
Removed
Modified
  • Ubuntu-11.04-Subversion

    v12 v13  
    201201    AuthType Basic
    202202    AuthName "Trac"
    203     AuthUserFile /var/tracprojects/.htpasswd
     203    AuthUserFile /var/lib/trac/.htpasswd
    204204    Require valid-user
    205205</Location>
    206206}}}
    207207
     208You should now create the .htpasswd file, with an admin user:
     209{{{
     210sudo htpasswd -c .htpasswd admin
     211}}}
     212
    208213Go ahead and restart Apache:
    209214{{{
    210215sudo /etc/init.d/apache2 restart
     216}}}
     217
     218Finally, you must grant admin rights to the user you've just created:
     219{{{
     220trac-admin /var/lib/trac/YourProject permission add admin TRAC_ADMIN
    211221}}}
    212222