Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Encrypt a new file system under RHEL6.4

Shulou Source: shulou.com Published: 2022-06-01 04:03:43 10月06日 Update

1. View the size of disk space

2. Create a logical volume

3. View created logical volume size

4. Initialize the partition to be encrypted

5. Set the open name of the encrypted partition

6. View generated device names

7.. Format encrypted partitions

8. Create a directory and mount it

9. Check whether the mount is successful

10. Set boot auto mount

(1) Create a file to store the key

(2) View the generated key file

(3) Change the properties of the key file

(4) Add password to key file

(5) Modify the/etc/crypttab file

(6) Modify the/etc/fstab file

(7) Restart the system

(8) Verify whether the automatic mount is successful

Tags: File key encryption success name size Logic Generation system password attribute format Directory disk Space device Authentication Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Technology macOS Redmi Huawei