- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Bastile Script....
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 06:49 AM
02-26-2003 06:49 AM
Bastile Script....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2003 07:05 AM
02-26-2003 07:05 AM
Re: Bastile Script....
Personally I use the bastile document and do it manually.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2003 10:41 AM
02-27-2003 10:41 AM
Re: Bastile Script....
1. 'Curses library' error: I'm not totally sure here, but you probably just need to set your DISPLAY variable. Bastille doesn't require your machine to be running an Xserver (i.e. have a graphical monitor), but it does require an X client. You can then see the GUI on any Xserver running Linux or ReflectionX or whatever.
Now, the best way to do this is using Secure Shell and X11Forwarding. (I know, this is yet another thing to load, but you really do want it on your Bastion host). Grab T1471AA from software.hp.com. If you need more instructions, write back.
The Perl-Curses CPAN module doesn't work too well on HP-UX, so we decided to stick with the GUI for now. (it's really a lot easier to use anyway)
2. 'Why would HP release this as a Perl?' Bastille is actually an open source program released under the GPL. It was originally written for Linux, and we extended it to HP-UX (including additional content). Bastille really is the best program out there for this sort of thing. We also got a lot of customer feedback indicating the importance of being able to read the code to find out what it was doing to their system. This is much easier in Perl/shell, since we don't have to distribute the source separately, etc.
3. 'you have to load up so much on your system' - The _easiest_ way to run Bastille is indeed to load Perl 5.6.1.E onto your system, which includes Perl/Tk libraries for the GUI. You can then run the GUI and make choices for your individual system.
If you prefer the hard way, you can create a config file on one system, then copy it to another system (see user's guide distributed with Bastille) and run 'bastille -b' to apply that configuration to the other system.(systems should be similar). Or, you can create one by hand...but that gets even more difficult. You can do this on a machine with only a text console. (Yes, you still need Perl...sorry about that.)
If you are really concerned about Perl, you can remove it after you're done with the initial hardening process.
I hope that helps. If I missed something, please write back.
-Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2004 09:53 PM
11-01-2004 09:53 PM
Re: Bastile Script....
Or am i missing something ??????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2005 03:25 AM
04-14-2005 03:25 AM
Re: Bastile Script....
Perl is neat, fun and a hip new way to script, but there are times you don't or shouldn't use it just because you can. This is one such example. Securing a server should be done in the trimest way possible - it should have been done in sh or ksh or a compiled binary and written to use text only so it could be run from the console.
My $.02