System Security _ How to use Bastille to reinforce Linux server security?

Source: Internet
Author: User
The Bastille reinforcement software can "firmly lock" the operating system and actively configure the system to improve security and reduce the probability of moderate recruitment and suspension.

The Bastille reinforcement software can "firmly lock" the operating system and actively configure the system to improve security and reduce the probability of moderate recruitment and suspension. Bastille can also evaluate the current reinforcement status of the system and precisely report each security setting it handles. Currently it supports Red Hat (Fedora, Enterprise and Numbered/Classic), SUSE, Ubuntu, Debian, Gentoo, Mandrake, Mac OS X, HP-UX and other operating systems.

Bastille is committed to enabling system users/administrators to choose how to harden the operating system. In the default reinforcement mode, it asks users questions in interactive mode, explains the topics of those questions, and develops policies based on users' answers. Then, it applies the policy to the system. In the evaluation mode, it creates a report to teach users to pay attention to available security settings and tell users which settings have been enhanced.

Install Bastille on Ubuntu/Debian

Use the followingCommandInstall Bastille on Ubuntu/Debian and its derivative version:

sk@sk:~$ sudo apt-get install bastille perl-tk

Start Basetille

Run the following command to start using Bastille:

sk@sk:~$ sudo bastille

First, it displays the License Agreement (License Agreement ). Input accept to agree:

[...]

You must accept the terms of this statement to use Bastille. Enter "accept" (no quotation marks) within five minutes to accept the terms of the disclaimer.

> accept

Then, you will see the screen shown below. Click OK to continue the next step.

The installer will ask you a series of questions, mainly to answer the yes or no type questions. You do not need to describe each problem. Read every question carefully and set your server security accordingly. If you do not know what to set, just click Restore Default (Restore Default Value ). Bastille will automatically select the default settings for you.

After you answer all the questions, it will allow you to save the changes. If you are satisfied with the settings, just click Save configuration, or click Go back and change the configuration (return to and change the configuration) to execute all the steps from the beginning.

Save configuration changes?

Now, it allows you to apply the completed settings to the entire system. Click Apply Configuration to System (Apply the Configuration to the System ).

Complete

Then, click Close to Close the Bastille program. Bastille runs automatically, depending on your answers and reinforces your servers, just as secure as you want.

Restore Bastille settings

If you want to restore all changes executed by Bastille, run the following command. It will restore your system to the default state:

sk@sk:~$ sudo RevertBastille

I have to say that this tool is easier than Manually changing settings; it is definitely useful for new system administrators who have little experience in server security reinforcement methods.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.