1834285 Members
2029 Online
110066 Solutions
New Discussion

bastille - run errors

 
Basheer_2
Trusted Contributor

bastille - run errors

Hello ITRC

Installed the lastest perl from HP 5.8.3
first time trying to run
/opt/sec_mgmt/bastille/bin/bastille
yelling with these erros.
Note: I dont have X (GUI).

NOTE: $DISPLAY not set. Attempting Curses interface.

NOTE: Using Curses user interface module.
NOTE: Only displaying questions relevant to the current configuration.

ERROR: Could not load the 'Curses.pm' interface module.
This may be due to an invalid $DISPLAY setting,
or the module not being visible to Perl.
5 REPLIES 5
Biswajit Tripathy
Honored Contributor

Re: bastille - run errors

Can you set DISPLAY to the current machine and
try again.

- Biswajit
:-)
Steven E. Protter
Exalted Contributor

Re: bastille - run errors

Bastille requires an X interface to run.

It is like taking an online survery after that, giving the user a series of qustions to answer concerning security.

export DISPLAY=192.168.0.10:0.0

That IP address must be a valid X Window client. Hummingbird has an expensive one, there are several lsss expensive ones available on the net.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: bastille - run errors

Unfortunately, Bastille was written for Linux so the authors wrote exclusively for Xwindows rather than a character mode interface. Without a Xwindow (GUI) display such as a PC running Hummingbird's Exceed or WRQ's Reflection/X, there is no way to use Bastille. If you have a Linux box, this might be an alternative. Login from the Linux box to your server and export the IP address of the Linux box:

export DISPLAY=mylinux.mycompamy.com:0.0

/opt/sec_mgmt/bastille/bin/bastille


Bill Hassell, sysadmin
Basheer_2
Trusted Contributor

Re: bastille - run errors

Biswajit/Steve:
Thanks for your reply. export DISPLAY wont work bcoz I made it very clear in my Q that I DONT have X (GUI).

Bill: You were right, after searching ITRC, its very clear that I need X cleint ( Which I do NOt have). This does NOT work in cmd-line.

Any Free X-Clients to try this product.

Basheer
Robert Fritz
Regular Advisor

Re: bastille - run errors

Hi there, Linux itself is/has a free X-Client. Also note that Bastille can use pre-edited/generated- or the default-shipped profiles via command line, bastille -b. Just put the config file in /etc/opt/sec_mgmt/bastille (from a similar system, or from a different system where you used the --os switch), and type "bastille -b" and you're off and running.

In addition, you can edit one of the aforementioned config file with vi, and run that with bastille -b. In some cases, doing this will cause Bastille to need another question answered/present. Even in that case, you can manually add that based on the error message.

Hope that helps,
-Robert
Those Who Would Sacrifice Liberty for Security Deserve Neither." - Benjamin Franklin