Re: Passwd
| From: | Louis Aslett | Date: | Mon, 11 Dec 2000 13:22:45 +0000 |
| Subject: | Re: Passwd | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29679@lists.php.net to get a copy of this message | ||
You could use something like
system("echo '$newpass'|passwd --stdin");
obviously after checking that $newpass doesn't contain anything that could
mess up.
Louis
----- Original Message -----
From: Charles <charles@starbox.com.br>
To: <php-general@lists.php.net>
Sent: Monday, December 11, 2000 12:06 PM
Subject: [PHP] Passwd
> Anybody know how to passing parameters to linux passwd command ?
> i tried use, escapeshellcmd, exec, backtick oper.. but nothing work.
>
> Thanks..
> --
> Charles
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>