[Bastille-linux-discuss] Bastille and running perl scripts with apache
This tool locks down Linux and UNIX systems.
Brought to you by:
jay
|
From: <za...@en...> - 2004-10-21 12:55:03
|
Hi, I am running RH7.3 and bastille 2.1.2. I want to be able to run a perl script through my browser as I have an apache server set up on my machine. I am able to run the perl script on my machine with no problems, but when I try to execute the script on my local machine (not through browser) I get perl module problems. I have verified the script with other people on other machines and they have no problems with their modules. I am wondering if bastille is disabling permissions to enable normal users to run perl scripts, or atleast find certain modules. RRDs.pm has been verified in many of the directories listed in the error, and all permissions are set to read. Here is the error I get: Can't locate loadable object for module RRDs in @INC (@INC contains: /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1 /usr/lib/perl5/vendor_perl .) at CUGrapher.pl I know when someone tries to access a file with apache the username is "nobody". I am guessing this "nobody" also doesn't have access to the RRDs.pm module. Any help would be appreciated. ~Zach |