[ic] Running a system command in a perl tag?

Mike Heins mike at perusion.com
Sun Jan 20 15:35:46 UTC 2013


Quoting IC (ic at tvcables.co.uk):
> > You can't run those types of things in a [perl] tag unless you have
> > AllowGlobal set and use [perl global=1]. It's not the kind of thing we
> > normally do in Interchange -- usually we put that kind of thing in a
> > global UserTag and use the results in a more measured fashion.
> > 
> > IC is not really designed to be a conduit for unbridled
> > system commands, though you could do it if you had AllowGlobal
> > set.
> 
> Thanks for the quick reply Mike, having done a bit more playing I think the
> problem is also that csf needs to be run as root, I guess my script is
> running as the interchange user, is it possible to run a system command as
> root?

No way.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.253.4194  <mike at perusion.com>

Life is a long lesson in humility. -- James Barrie



More information about the interchange-users mailing list