I do not know Perl, but I am trying to modify an existing cgi script on my
webserver. I want to execute "sudo squid -k reconfigure", using this
syntax:
system ("sudo -k reconfigure);
and it works fine as long as I have a default shell for Apache in
/etc/passwd. How can I accomplish the same thing without giving Apache a
shell? I read through the Camel Book (3rd ed.) but I don't know what a list
is (like I said, I'm not handy with Perl), and I don't understand the
examples given in the "exec" and "system" descriptions.
Can anyone help?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]