Secure OS Software for Linux
Showing results for 
Search instead for 
Did you mean: 

How to get Bastille on Linux to ask HP-UX questions


How to get Bastille on Linux to ask HP-UX questions


This was posted on the news group, but as it was off topic I am starting a new thread.

"Also, if you have access to a Linux box, you can install the Linux version and run the bastille GUI/TUI with the --os switch to ask HP-UX questions."

How do I get Bastill on Linux to switch to HP-UX questions ?

Keith Buck
Respected Contributor

Re: How to get Bastille on Linux to ask HP-UX questions

bastille --os HP-UX11.00


bastille --os HP-UX11.11


bastille --os HP-UX11.23

There's still the X question. If you have an X server on your desktop and the X client libraries installed, then the Tk interface is much nicer. Alternately, if you have the curses libraries installed it can work without any graphical interface. The Curses interface only allows sequential navigation and has a few display bugs you might run into.

If you need more help getting it to run on your particular flavor of Linux, you might try posting to the Bastille-Linux discussion group.

As you've already figured out, Perl-Curses doesn't work on HP-UX which is why HP-UX Bastille is still limited to the GUI for initial setup :(

Hope that helps.

Steven E. Protter
Exalted Contributor

Re: How to get Bastille on Linux to ask HP-UX questions

This dog is not going to hunt.

The Open source Bastille can only look at, change and analyze Linux systems.

The version of BAstille for HP-UX must be installed on the HP-9000/HP-UX server. Its part of the Base OE now. It has been modified and re-compiled to run on HP-UX.

They products are very similar but can analyze systems they were not installed on.

Steven E Protter
Owner of ISN Corporation
Keith Buck
Respected Contributor

Re: How to get Bastille on Linux to ask HP-UX questions


FYI, mostly because you answer so many questions on these forums and I thought you might like some more technical details.

You are correct that Bastille can only analyze and change systems that it is installed on. However, the --os option skips the analysis phase and is incompatible with making changes on the system (-b option). It is capable of displaying all of the questions that could be asked on an alternate platform. It will not skip irrelevant questions because it doesn't analyze the system for relevance.

A couple other clarifications:
- Bastille is not recompiled for HP-UX. It is a perl script and requires no compilation at all :) The Perl/Tk and Perl-Curses modules are compiled and platform specific, and are required for the interactive portion.
- We use exactly the same source tree as Bastille for Linux. The main difference between HP-UX Bastille and the Linux and OSX versions are the installation directories of the code. Bastille detects the OS version at runtime and decides what to do from there.
- In addition, HP performs additional testing and quality measures on Bastille running on HP-UX such that we are able to support the specific versions that we release on In addition, HP has tested several Bastille configurations with all products released on HP-UX 11i v 2.0 to find any unexpected interactions.

HP-UX Bastille is still open source and still licensed under the GPL. Bastille benefits from both the opensource community and commercial vendor support and development. It also benefits from those of you who support Bastille in exchange for points and the recognition of your peers :)