On Fri, 16 Aug 2002, Brad wrote: > Hi, I've written some IPchains into my perl script using perl-IPchains but > the script has to be executed by root or ipchains refuses. > > Does anyone know how I can allow user "apache" to use ipchains, or how I can > elevate my privileges within perl. > > Thanks, > Brad. Brad,
what you're asking is downright blasphemy! every penguin in the known universe just growned in unison. believe me...this you don't want to do. ipchains is run by root for good reason and thats how it should stay. you do _not_ want your firewall, or any other part of your system's security accessible to normal users. you will have to settle for the script needing to be run by root. the alternative is of course opening your box to literaly anyone who had the knowledge to get in and do what they will. in that case the firewall becomes a mute point. why bother? -- daRmaTTeR Reg. Linux User #186492 "Stupidity has no moral high ground...it can't see that high!"
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
