Re: Executing UNIX commands with PHP
| From: | Arcady Genkin | Date: | Wed, 04 Jul 2001 20:42:22 +0000 |
| Subject: | Re: Executing UNIX commands with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56229@lists.php.net to get a copy of this message | ||
"Tim Taubert" <timtaubert@web.de> writes:
> how can i execute a UNIX command like
> 'newuser "Tim Taubert" tim password'
> ? and am i able to fetch the results of such commands?
Since someone else replied to your question, I'll just mention that
running such command may be a really bad idea. If someone runs `ps'
at the same time, he'll be able to see the password for user `tim' in
clear text.
--
Arcady Genkin
i=1; while 1, hilb(i); i=i+1; end