Install the Ubuntu Security Guide - Paiet/SEC-440-Webmin GitHub Wiki
8-Steps to Install the Ubuntu Security Guide
The Ubuntu Security Guide is an in-depth guide to getting security right on Ubuntu. It includes practical tutorials on securing your system, covering everything from using standard security tools to securing your system to how to stay secure on public Wi-Fi networks. The guide is divided into eight steps, covering different aspects of securing your system. Each step contains detailed information about the topic and a set of step-by-step guides on how to secure your system. With this guide, you'll have all the knowledge to keep your Ubuntu system secure.
--
Part 1: Ubuntu's Security Philosophy
Ubuntu's security philosophy focuses on the user and takes care of their system as if it were our own. This chapter will learn about Ubuntu, how security features work in Ubuntu, and why Ubuntu takes security so seriously. You'll also learn about the different components that make up your Ubuntu system, and how they interact. Finally, you'll learn to take care of your system by automating some of the most common tasks users do every day.
--
Step 1: Install the Ubuntu Security Guide
We've made the Ubuntu Security Guide available for download on the Ubuntu website. If you don't want to download it, you can also access it from this guide by clicking "Install the Ubuntu Security Guide" under Part 1: Introduction.
--
Step 2: Stay Up to Date
One of the best things you can do to help keep your system secure is to update your packages. While updates are not always perfect, they include fixes for security issues that could put your system at risk. To update your packages, open a terminal and enter the following command:
--
Step 3: Use Strong Passwords
One of the most essential steps to securing your account is using strong passwords. These passwords can be complex for hackers to crack, which means they are more secure.
--
Step 4: Enable Two-Factor Authentication
This step-by-step guide will show you how to enable two-factor authentication for your Ubuntu account.
This is the most important security measure to take for your Ubuntu account, as it protects against hackers who have compromised your password.
To set up two-factor authentication:
-
Click on the Security tab in the left sidebar of the desktop and select "Two Factor Authentication."
-
Enter your Ubuntu username and password and click "Continue."
-
Select "Require my phone" as a second factor. 4) On the next screen, enter your phone number and click "Continue."
-
You will receive a text message with an activation code. Enter that code into the screen shown below, then click "Activate Now!" 6) You have now configured two-factor authentication for your account!
--
Step 5: Encrypt Your System
If you're going to encrypt your system, you'll first need to boot up an Ubuntu live CD. The CD will start a version of the operating system that runs off a CD, rather than your hard drive. If you don't have a CD or USB stick to hand, you can get it from here: https://www.ubuntu.com/download/desktop
Once booted up and running, select 'Try Ubuntu without installing' > 'Install Security Guide'. You can change this at any time by editing the "live system" text in the top left corner.
When prompted, select whether you want to install printing support or not (don't worry, this won't affect your security). Then click Install Security Guide again.
When prompted for installation type, choose Whole Disk Encryption (LVM) and type in your password twice -- this will be used to encrypt all the data on your computer. Choose whether you want to enable swap encryption as well and enter your password again for confirmation.
After encryption finishes, restart your computer with the newly encrypted hard drive and follow steps 6-8 under Step 4: Configure Your System Security Settings
--
Step 6: Use Security Tools
A key step in securing your system is using the right tools. Ubuntu includes some great tools for this purpose and other programs that you may need to install. The Security section of the left sidebar contains a number of tutorials on how to use common security tools like Tor, KeePassX, and Truecrypt.
This section will go over some basic security steps that you can take with these tools and others.
--
Conclusion
The Ubuntu Security Guide provides 8-steps to help you to keep your system secure. These steps range from installing the guide, staying up to date, using strong passwords and enabling two-factor authentication. The last two steps are to use security tools and encrypt your system.