Partition Encryption
LUKS (Linux unified key settings) is a standard device encryption format. LUKS can encrypt partitions or volumes. Mount
When partitioning a file system, you must first decrypt the encrypted partition or volume.
1. Create a New Partition
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04512Q192-0.png "title =" 1.png" alt = "001017196.png"/>
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04512W024-1.png "title =" 2.png" alt = "001053408.png"/>
2. encrypt the new partition and set the password. Enter the correct password for decryption. The encrypted partition will be unlocked to/dev/mapper/
Create an ext3 File System for the decrypted block File
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04512QX6-2.png "title =" 3.png" alt = "001244967.png"/>
3. Create a mount point and mount the file system.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04512TP7-3.png "title =" 4.png" alt = "001422755.png"/>
4. Add a mount entry to/etc/fstab.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04512W060-4.png "title =" 5.png" alt = "001536342.png"/>
5. Create a password file. Pay attention to the permissions of the password file and add the key file to the LUKS key. 650) this. width = 650; "src =" http://img1.51cto.com/attachment/201309/001828646.png "title =" 8.png" alt = "001828646.png"/>
6. The password is automatically loaded at startup and partitions are automatically mounted.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/04512V105-6.png "title =" 6.png" alt = "001916880.png"/>
This article is from the cisco blog, please be sure to keep this source http://1585654.blog.51cto.com/1575654/1302394