RE: [PHP] Executing UNIX commands with PHP
| From: | Tim Taubert | Date: | Wed, 04 Jul 2001 20:47:22 +0000 |
| Subject: | RE: [PHP] Executing UNIX commands with PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-56230@lists.php.net to get a copy of this message | ||
mh this is bad...
can i do anything else instead of this ?
---------------------------------------------------------------------
Tim Taubert | timtaubert@web.de | http://www.shogunat.com/rg/
---------------------------------------------------------------------
.o] -----Original Message-----
.o] From: Arcady Genkin [mailto:a.genkin@utoronto.ca]
.o] Sent: Wednesday, July 04, 2001 10:42 PM
.o] To: timtaubert@web.de
.o] Cc: PHP Mailingliste
.o] Subject: Re: [PHP] Executing UNIX commands with PHP
.o]
.o]
.o] "Tim Taubert" <timtaubert@web.de> writes:
.o]
.o] > how can i execute a UNIX command like
.o] > 'newuser "Tim Taubert" tim password'
.o] > ? and am i able to fetch the results of such commands?
.o]
.o] Since someone else replied to your question, I'll just mention that
.o] running such command may be a really bad idea. If someone runs `ps'
.o] at the same time, he'll be able to see the password for user `tim' in
.o] clear text.
.o] --
.o] Arcady Genkin
.o] i=1; while 1, hilb(i); i=i+1; end