===========================================================================
$NetBSD: MESSAGE,v 1.6 2011/04/14 12:42:56 adam Exp $

You must configure RT by editing /usr/pkg/etc/rt3/RT_SiteConfig.pm.

To initialize the RT database, run

	/usr/pkg/sbin/rt-setup-database --action init \
	    --dba dbadmin --prompt-for-dba-password \
	    --datadir /usr/pkg/share/rt3/etc

as a user in the rt group or as superuser.  In the previous
command-line, 'dbadmin' stands for the database administrator's username,
e.g. 'root' for MySQL.

To upgrade the RT database from an older version, look in
/usr/pkg/share/rt3/etc/upgrade, and for each version newer than the one
previously used, do the following:

	/usr/pkg/sbin/rt-setup-database --action schema \
	    --dba dbadmin --prompt-for-dba-password \
	    --datadir /usr/pkg/share/rt3/etc/upgrade/<version>
	/usr/pkg/sbin/rt-setup-database --action acl \
	    --dba dbadmin --prompt-for-dba-password \
	    --datadir /usr/pkg/share/rt3/etc/upgrade/<version>
	/usr/pkg/sbin/rt-setup-database --action insert \
	    --dba dbadmin --prompt-for-dba-password \
	    --datadir /usr/pkg/share/rt3/etc/upgrade/<version>

You might also want to clear the Mason cache:

	rm -Rf /var/spool/rt3/mason_data/obj

UPGRADING FROM 3.8.8 and earlier:

Previous versions of RT used a password hashing scheme which was too
easy to reverse, which could allow attackers with read access to the
RT database to possibly compromise users' passwords.  Even if RT does
no password authentication itself, it may still store these weak
password hashes -- using ExternalAuth does not guarantee that you are
not vulnerable!  To upgrade stored passwords to a stronger hash, run:

    perl /usr/pkg/share/rt3/etc/vulnerable-passwords

at this point.

For other upgrading actions, see /usr/pkg/share/rt3/etc/UPGRADING

See also the manual on http://bestpractical.com/rt/docs.html
===========================================================================
