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 command.........it 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 ??
Ive solved this one if and the solution is in http://www.linuxquestions.org/questi...hreadid=381809
|All times are GMT -5. The time now is 05:58 PM.|