[rt-users] RT password stored in db

Asif Iqbal iqbala at qwestip.net
Tue Feb 3 00:33:42 EST 2004


Karl Pietri wrote:
> Can any one tell me how the password is stored in rt.  (like the function) i need to write a script to copy users/pass from a different db we already have setup (where password is stored in plain text).
> Thanks
> 


This is what you should do in your script

my $new_user = new RT::User($CurrentUser);
$new_user->Load($user_name);
$new_user->SetPassword($pass);

You can read more by running this as non-root user 

perldoc /opt/rt3/lib/RT/User.pm


Plus read the archive to get more info posted by seph on rt-users
mailing list

> -Karl Pietri
> Northview Public Schools
> 616-365-6126
> _______________________________________________
> rt-users mailing list
> rt-users at lists.bestpractical.com
> http://lists.bestpractical.com/mailman/listinfo/rt-users
> 
> Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
There's no place like 127.0.0.1



More information about the rt-users mailing list