View Full Version : Email and Password
jeffery
04-21-2004, 11:18 AM
If I want to check the email address and the password of a specific account and want to send the password to this email address.
Which API should I use? and what parameter should I get/post?
Thanks!
*Assumed I have right to get passwords! :)
jlasman
04-21-2004, 12:02 PM
No-one can get passwords; they're protected by a one-way encode.
If you're root you can change system passwords from the shell.
Non system users can be changed only from the DirectAdmin control panel interface.
If you're admin, you can change all the non-system on the server; if you're a reseller you can change all the non-system passwords for yourself and your clients.
Jeff
jeffery
04-22-2004, 05:18 AM
Thanks Jeff!
But,
Just want to know if there is a function like "Forgot password".
Some users asked me like that..
So I am finding way to have a solution.
bvvelzen
04-22-2004, 05:45 AM
I found a rather nice option for that. We use it our selve at some site's. It goes like this: you give a user a password. You save it somewhere in a database and send a letter with that password to the user. Then you force your user to change that password at the beginning of the login. At this way every user uses it's own passwords.
When somebody forgot's there password, then you can socalled reset it. This wil change the password to the standard password for that user. No the user can take his letter or e-mail where the origional password was printed on and he/she can login. Then after the reset, they can login, and then the have to change there password again.
I'll hope it wil be implementated.
jeffery
04-22-2004, 10:07 AM
It's a good way!
However, can I change the user's password using API then?
jlasman
04-22-2004, 10:13 AM
Yes.
From your reseller panel there's a "Change User Passwords" option.
Jeff
jeffery
04-22-2004, 10:24 AM
Originally posted by jlasman
Yes.
From your reseller panel there's a "Change User Passwords" option.
Jeff
O Jeff, I mean if I can do it with API calls??
Such that the password reset can be done automatically! =)
CyberAlien
04-22-2004, 12:15 PM
post following data to /CMD_USER_PASSWD
username=user_login
passwd=password
passwd2=password
jeffery
04-22-2004, 12:54 PM
Thanks Mr. Alien~
:D
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.