August 27th, 2000, 08:19 PM
On Redhat linux, the command "passwd user" is interactive, so how can I pass data to and from the command with system() or exec()?
August 28th, 2000, 05:53 AM
you can embed a variable in the exec() comand but you should you system if you want to receive feedback
$str5=system("djpeg -colors 256 -bmp $foo.jpg > $newbmp2",$strr5);
August 28th, 2000, 10:02 AM
I a tad bit confused................
How would I treat the assigning of a password
if the syntax was:
system (passwd $username)
it you then ask me for the password. How do I pass the password.