Richard,
Thanks for the reply.
'top' shows that the script is being run as nobody.
the '2<' stuff allow the password to be passed as a file descriptor and I
think it is this that is breaking.
I have setup a nobody directory just for this. I then set the HOME variable
to point to this directory.
issions problem.
However, If I add #!/usr/bin/php to the top of the script and make it
executable, then su to 'nobody' (which appache runs as) then the
script runs perfectly from the command line - so I think that the
permissions are all OK.
Any ideas where I'm going wrong?
Regards,
2 matches
Mail list logo