<quote who="Chris Devers">
> 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?

I know have it running fine using -T and declaring ENN{PATH} as according
to the "Security" section of the camel.

Yeah, I have:

 !system (blah, blah) or die "blah, blah";

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

No.

>
> 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...

I could actually do that for each system command, could I use the expect
perl module for that?

>
> 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>


It needs to be scripted via an independant sgi script though :-(

>
> 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...
>

Thanks.

> --
> 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