4 security features in Fedora 16

The security features in Fedora make it one of my favorite Linux distributions. And that is partly why it is in my list of the top 6 KDE distributions of 2011, even though it takes some tweaking to get it to the it just works state. I will take the security advantages of an operating system over any user-friendliness weaknesses, provided those user-friendliness weaknesses are not show stoppers.

Two of the four security features in Fedora 16 are enabled out of the box. The others are optional features that can be configured during installation. So, let us look at those two optional security features first.

Boot Loader Password: Access to the boot loader’s console is one of the easiest means to gain access to the innards of a system. By password-protecting it, you make it that much difficult for an unauthorized user to gain access at that level. The screen shot below shows the boot loader setup step.
Fedora 16 GRUB Password

Specifically, you would want to password-protect GRUB 2, the boot loader used in Fedora 16, for the following reasons:

  • Prevent Access To Single User Mode — If an attacker can boot into single user mode, he becomes the root user.
  • Prevent Access To the GRUB Console — If the machine uses GRUB as its boot loader, an attacker can use the edit the command’s interface to change its configuration or to gather information using the cat command.

Disk encryption is the top physical security measure that you can use to protect your data. And very few distributions make it as easy to configure as Fedora. All that is needed to install Fedora 16 on an encrypted file system, is to … well, enable the “Encrypt system” option at the disk partitioning options steps of the installation process. The step is shown in the screen shot below.
Fedora 16 Partition Methods

On a default installation (using LVM, the Linux Logical Volume Manager), the Physical Volume is encrypted, giving you an encrypted LVM installation.
Fedora 16 Encrypted LVM

If the “Use LVM” option is unchecked, that is, disabled, the installer creates the partitions shown in this image. the individual partitions are encrypted, but all are encrypted with a universal passphrase.
Encrypted GPT Partitions

The end result, whether using LVM or not, is that the system will not boot completely if the correct passphrase is not entered.
Specify Encryption Passphrase

Stateful Package Filtering Firewall: In Fedora 16, the firewall is activated out of the box, and a graphical interface for managing it is installed and configured. The firewall is operating in stateful mode, which means that all outgoing connections from the system are allowed, while any incoming connection not related to an entry in the State Table is denied. The state table holds information (IP addresses, ports numbers, etc) about known active connections passing though a stateful firewall. The main interface of the graphical firewall manager is shown here. Note that while ssh connections are allowed out of the box, the ssh server itself is not active.
Fedora 16 Graphical Firewall Manager

Application Firewall: While a Stateful Package Filtering Firewall regulates traffic in and out of the system, a host-based application firewall determines what applications can and cannot do inside the system. In Fedora 16, that service is provided by SELinux, one of 3 application-level firewalls in Linux. By default, SELinux is enabled in enforcing mode. In previous editions of Fedora, it was not uncommon for SELinux alert messages to pop up within a few minutes of using a new installation. And in most instances, that led to the disabling of SELinux. I have been using an installation of Fedora 16 for more than four days now, but there are no alert messages so far. The screen shot below is my witness.
SELinux Troubleshoot Fedora 16

Related Posts

Feature preview of Fedora 16 installer Fedora 16 is more than two months away from final, stable release, but pre-Alpha installation ISO images have been floating around. News from the Fedo...
How to enable auto-login and create a guest user account on Fedora 14 Fedora is one of very few distributions that does not have the auto-login feature in its graphical user management tool. Auto-login allows the system ...
How to install AppMenu-QML on Fedora 16 KDE There are several menu styles available for users of the K Desktop Environment. Virtually all, should be familiar with the Classic menu, the Kickoff m...
How to create a laser light show with Fedora Every day, people are making all kinds of incredible software powered by Fedora. The Fedora user community is broad and diverse, and sometimes, we...
Install Cinnamon 1.4 on Fedora 17 The just released Fedora 17 offers a choice of four main desktop environments - GNOME 3, KDE, LXDE and Xfce. All have their loyal base, but there is a...
Install Cinnamon on Fedora 19 Summary: This article shows how to install the latest and greatest Cinnamon Desktop Environment on Fedora 19 (code-named Schrodinger's Cat), the lates...

We Recommend These Vendors and Free Offers

ContainerizeThis 2016 is a free, 2-day conference for all things containers and big data. Featured, will be presentations and free, hands-on workshops. Learn more at ContainerizeThis.com

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


  1. In my experience Fedora was the only OS to report on a failing hard drive

  2. None of this is specific to Fedora; for instance OpenSUSE has bootloader password, encryption, IPtables firewall and AppArmor as well.

    • The article is about Fedora, not any other distribution, and no where in the article does it even imply that these features are exclusively Fedora’s.

  3. Thanks for the article, but I have a few comments:

    I don’t really agree on the fact that SELinux is an application firewall. See the wikipedia page on SELinux. A firewall acts on the network and blocks known attacks before it reaches the host. SELinux is a component that adds another security layer over the basic UNIX permissions. It can help mitigate application attacks, but it is not the same thing as an application firewall.

    Also, your description of a stateful firewall is not completely accurate. Again, see the wikipedia page for stateful firewall. A stateful firewall has been available in Linux for ages (iptables, since kernel 2.4). Your definition of the statefulness is a mix of the real definition and the default policy. The policy is that all outgoing packets is allowed (default allow for outbound packets) and nothing is permitted inbound except SSH. The statefulness of a firewal is based on the fact that when a packet goes out of an interface, information is tracked about it so that when the reply packet comes back to the firewall, it is accepted (you got that part right). Actually, I don’t think there is still sateless firewalls around. Home/SOHO routers are all statefull.

    • Application firewall doesn’t necessarily have anything to do with blocking network attacks. Instead it restrict applications from performing certain actions, for example prevent an application from accessing a particular directory.

      I can tell you from my own experience that by default there is no SSH inbound connection enabled in f16. I had to install SSH server and then configure my firewall to allow incoming SSH request. So the author is correct about SSH.

  4. i use this distro too. SELinux pops up after installing Chromium and/or Chrome Web Browser, then provides instructions on how to allow the use of the said applications.

  5. Pingback: Links 14/12/2011: Pear OS 3.0, $99 Linux Tablets | Techrights

Leave a Comment

Your email address will not be published. Required fields are marked *