LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Installing Bastille on Fedora Core 2 (https://www.linuxquestions.org/questions/linux-security-4/installing-bastille-on-fedora-core-2-a-194898/)

Skunk_Face 06-18-2004 04:11 AM

Installing Bastille on Fedora Core 2
 
has anyone here installed the bastille hardening script with any success on fedora core 1??
I have tried repeatedly using both the :
bastille-linux-2.1.1-1.rhfc1.at.i386.rpm which got a list of failed dependencies like

error: Failed dependencies:
perl(API) is needed by bastille-linux-2.1.1-1.rhfc1.at
perl(Bastille::HP_API) is needed by bastille-linux-2.1.1-1.rhfc1.at
perl(Bastille::OSX_API) is needed by bastille-linux-2.1.1-1.rhfc1.at
perl(Bastille::test_AccountSecurity) is needed by bastille-linux-2.1.1-1...bla bla

and when i installed perl-Tk, perl-curses and Bastille-2.1.2-0.1.i386.rpm, running bastille errors with
WARNING: /usr/bin/perl cannot find Perl module Tk.
The above module(s) is/are required to correctly display
the Bastille User Interface. If you are unable to find a
pre-compiled module for your OS, they can be found at:
http://www.cpan.org/modules/01modules.index.html
If you installed the modules in another installation of
perl besides the one listed in the error message, you may
override Bastille's search path by setting the
$CORRECT_PERL_PATH environment variable to the directory
that the desired perl binary is located in.

man this thing is driving me nuts!!!

unSpawn 06-19-2004 05:07 AM

Shame. I had the same probs and ended up hacking Bastille-Linux' perlscripts. Can't remember tho what it exactly was I changed, but it had to do with the sequence it checked the necessary perl modules/path. If no one comes up with a fix, post the D/L locations and exact versions of Bastille-Linux and deps you installed. That would give anyone interested hacking up BL a start.

Skunk_Face 06-21-2004 08:10 PM

well turns out that i had perl 5.8.1 installed and somehow d'loaded perl-Tk for perl 5.8.3

I d'loaded the correct perl-Tk module from rpm.pbone.net but had the same problems. So i got rid of the precompiled binary and d'loaded the source tarball for BL. Installation was straight forward but somehow missed copying the OSX_API.pm into /usr/lib/Bastille. A quick cp command fixed that. Now im able to run BL, however it still complains bout unable to verify redhat version ( somehow wasnt meant to run on fedora i guess) and automatically sets OS version to redhat 9. Everything else runs fine. Im not sure now as to what effect the OS version will have and will try to re-write the script that looks for the OS version.

Thanks fer the reply UnSpawn. Am hoping someone comes up with a hacked perlscript for BL to help noobs like myself .

unSpawn 06-22-2004 12:32 PM

Im not sure now as to what effect the OS version will have
Wild guesses would include filesystem layout, functionality and type of init scripts.


All times are GMT -5. The time now is 11:29 AM.