Auto Password

Hi all,

I have installed 2.0.11 / apache /linux 7.2/ mysql: Ok that should cover
it.
Now on to the question. :slight_smile:

I noticed that in User.pm there is a fuction for auto-creating a password
for a user and sending them an email. But, I don’t see any scrip or any
config option
In config.pm to use this?

Am I missing something? Did I not read enough?

This is a feature that I would really like to use… so anyone that could
help me out I’ll buy ya a beer! :slight_smile: if your in Northern CA. If not, I’ll
Send you an e-greeting. LOL

Thanks

Bryant Taylor

That code isn’t actively used by anything. It’s library code I wrote with
an eye to doing just what you describe, but so far, I haven’t found a client who’s
interested in underwriting the work.

-jOn Tue, Jan 22, 2002 at 12:32:46PM -0800, Bryant Taylor wrote:

Hi all,

I have installed 2.0.11 / apache /linux 7.2/ mysql: Ok that should cover
it.
Now on to the question. :slight_smile:

I noticed that in User.pm there is a fuction for auto-creating a password
for a user and sending them an email. But, I don’t see any scrip or any
config option
In config.pm to use this?

Am I missing something? Did I not read enough?

This is a feature that I would really like to use… so anyone that could
help me out I’ll buy ya a beer! :slight_smile: if your in Northern CA. If not, I’ll
Send you an e-greeting. LOL

Thanks

Bryant Taylor

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.

Howdy!

I don’t know if it’s interesting or useful to anyone else, but I wrote a
quick script (in Python – please hold your groans until the end :wink:
which runs through the “users” table of the database, renames users
whose accounts are email addresses in the local domain, and synchronizes
encrypted password strings for those users who have an identically named
UNIX account.

Things to consider in this solution:

  • Every user account for the local mail domain will end up with a
    password they control. This is a good thing for us, but your site may
    rely on the creation of accounts without passwords as a means of
    obscuring the ticket system from internal users.

  • This script acts directly on the database; while I’m pretty sure I
    guarded against bogus data making it in, I make no guarantees.

  • The database stores simple crypted passwords; if you’re using anything
    else (e.g. MD5) I suspect you’ll be out of luck. I haven’t tested this
    yet.

I wanted to write it in Perl, but I couldn’t figure out how to properly
read a user from the database quickly enough. I’d be very open to
someone helping me figure that out; I’d much prefer an integrated
approach.

Cheers!

–j
Jim Meyer, Geek At Large purp@wildbrain.com