Re: [PHP] using stdin in php

2002-06-04 Thread Jason Wong
On Thursday 30 May 2002 08:55, [EMAIL PROTECTED] wrote: > Could somebody look at this a tell me way it does not set the > password correctly. I know it has to run at root this has been > handled. > I think my problem is with --stdin. It sets a password but it does not > set it correctly > > $

Re: [PHP] using stdin in php

2002-05-29 Thread Miguel Cruz
On Wed, 29 May 2002 [EMAIL PROTECTED] wrote: > Could somebody look at this a tell me way it does not set the > password correctly. I know it has to run at root this has been > handled. > I think my problem is with --stdin. It sets a password but it does not > set it correctly > > $cmd = "ec

[PHP] using stdin in php

2002-05-29 Thread rdkurth
Could somebody look at this a tell me way it does not set the password correctly. I know it has to run at root this has been handled. I think my problem is with --stdin. It sets a password but it does not set it correctly $cmd = "echo $newpassword | passwd --stdin $user"; return(exec($cmd