Linux/Security/Encrypted disk

From Iveze
< Linux‎ | Security
Revision as of 11:01, 24 June 2015 by Admin (Talk | contribs)

Jump to: navigation, search

Make a harddisk encrypted and password protected.

Use case

Unless hardware is not physically protected, it is mostly not necessary to take the overhead of encryption on every harddisk. Clear exceptions are external USB harddisks with sensitive information on them i.e. backup disks. If they leave the building, they might get lost or stolen.

Cryptsetup

Cryptsetup is a utility for setting up disk encryption using dm-crypt kernel module.

Install

Centos 6

yum install cryptsetup-luks

Centos 7

yum install cryptsetup

Encrypt a disk