Retrieve Root Password

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

type in “rtadmin --user root --password” and the new password and you should
be set. for more options do a "rtadmin --help"
pete.-----Original Message-----
From: alvn [mailto:gamboa@infophil.com]
Sent: Tuesday, May 20, 2003 9:57 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] Retrieve Root Password

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@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

(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
–fOn 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@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