-   Programming (
-   -   create hashed passwords in PHP ? (

ALInux 11-10-2005 11:28 AM

create hashed passwords in PHP ?
Hi Iam writing a script that allows to add users through a php webinterface.........anyhow everything went fine untill I had to proved the -p argument for the useradd must be hashed right ???
So I tried crypt and md5 in PHP to create the hashed password but nothing worked........I even tried using the "openssl passwd -crypt" through shell_exec() but it did not work either.........

In short is it possible to hash the password outside the linux box and then provide it ?????????
Any comments ??

ALInux 11-12-2005 07:45 AM

Ive solved this one if and the solution is in

All times are GMT -5. The time now is 06:15 AM.