Hi again I will answer mu own question, by using the perl module sudo together with sudoers the problem was solved
/GH Göran Höglund skrev 2011-05-04 16:30: > Hi > I am trying to restart the firewall from inside a perl script. > /sbin/shorewall restart -f > > I have added the script name in sudoers to allow the web process owner > apache to run the script as root. > > In me messages log i get > file /var/lib/shorewall/firewall is missing > > Is there any environment parameters I must add? > > gh > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Shorewall-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/shorewall-users > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
