[rt-users] Retrieve Root Password

Francois Rouaix francois at rouaix.org
Tue May 20 10:41:03 EDT 2003


(this applies to RT3)

I don't think it can be retrieved, since it is stored encoded through 
MD5 (one way hash).
Same thing happened to me (only it was after a few days...).
I ended up changing the password by hand in the database.

This snippet of Perl will show you the encoded value of the password 
'foo'
use Digest::MD5;
my $md5 = Digest::MD5->new();
$md5->add('foo');
print $md5->b64digest;

In the database rt3, the table Users has a field Password.
Change this field for the "root" record, and you have a new password.
You can then login with root/foo and change it again (or, alternatively 
of course,
directly the encoding for the new password that you want...)

HTH, but YMMV
--f

On Tuesday, May 20, 2003, at 15:57 Europe/Paris, alvn wrote:

> i installed RT on one of my test servers, i havent used it for months. 
> and now i forgot what the root password was. is it possible to 
> retrieve the password?
>
>
> alvin
>
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
>
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
>
>




More information about the rt-users mailing list