change e-mail

arbitter

Verified User
Joined
Jan 23, 2010
Messages
5
i've got this simple script that sends 'lost' passwords to the person who claims to have lost it, and apparantly you can change the sender of those mails in DirectAdmin. I was wondering how?

I found this on a site:
"$site['email'] = "[email protected]";
$site['email_notify'] = "[email protected]";
$site['bugReportMail'] = "[email protected]";

Simply change the address/addresses to your liking.

Save header.inc.php and reupload. "

But stilll, I wouldn't be able to incorporate it.
Any ideas?
 
You cant send lost passwords. They are encrypted and there is no way to decrypt them. You can only reset passwords. I wouldnt dare use that script who knows what it does.
 
I don't see why you would not be able to send it. I think I must have not been clear enough on the case. If people would click that they'd forgotten there password, they must fill in an emailadress and then the database sends an email with the password to that email. Problem is, that this sends it with my root-aemailadress of my site, and I would like to change it to something like '[email protected]'. (I can make as many emailadresses as I want, but I don't know how to configure it to do simply this task)
 
So where is it gonna get the password from? There are no files that contain clear text passwords? There are no databases taht contain clear text passwords? So how?
 
Well, they do actually contain clear text passwords, but I still need to figure it out. And there must be a way to decrypt encrypted passwords, otherwise you wouldn't be able to check if the users password is correct, would you?
 
Well, they do actually contain clear text passwords, but I still need to figure it out.
They? Who is they? Linux and BSD distributions don't save passwords anywhere on the server. Of course YOU, the systems administrator may, but linux and BSD don't., unless YOU save them somewhere on the server.
And there must be a way to decrypt encrypted passwords, otherwise you wouldn't be able to check if the users password is correct, would you?
Sure you would.

First of all, this is a very simple example, as the way linux and unix do it is actually a bit more complex.

When you choose a password linux uses a special algorithm to encrypt the password.

When you later want to log in, linux uses the same algorithm on the password you've typed in and compares the encryptions.

If they've matched, the user is allowed in.

Jeff
 
Back
Top