On Fri, 25 Feb 2005, Gavin Henry wrote:

> [...] the problem is [...] cdrecord needs to be run as root.

I assume cdrecord is being invoked from a system command, right?

Have you considered prefixing that command with `sudo`, and going into 
the sudoers file to allow the www user that privilige?

Of course, it would be a bit more complicated than that, as sudo will 
prompt for a password that you have to pass back to it somehow, but 
after hurdle that I suspect that it should work fine...

Alternatively, have you considered using Webmin? Webmin is a way to do 
various system administration tasks through a web browser, and there 
appears to be a cdrecord based plugin for it:

    <http://kgolding.co.uk/cd2iso.php>

Webmin site: 

    <http://webmin.com/>

The Book of Webmin (not pirated -- it's at the author's site): 

    <http://www.swelltech.com/support/webminguide/>

This may be an easier approach to the problem...



-- 
Chris Devers

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to