Chapter 29. Disk Encryption Guide
292
only on the device's LUKS UUID, and are therefore guaranteed to remain constant. This fact makes
them suitable for use in
/etc/fstab
.
Title
For details on the format of the
/etc/fstab
file, read the
fstab(5)
man page.
29.5. Common Post-Installation Tasks
The following sections are about common post-installation tasks.
29.5.1. Set a randomly generated key as an additional way to access
an encrypted block device
These sections are about generating keys and adding keys.
29.5.1.1. Generate a key
This will generate a 256-bit key in the file
$HOME/keyfile
.
dd if=/dev/urandom of=$HOME/keyfile bs=32 count=1
chmod 600 $HOME/keyfile
29.5.1.2. Add the key to an available keyslot on the encrypted device
cryptsetup luksAddKey <device> ~/keyfile
29.5.2. Add a new passphrase to an existing device
cryptsetup luksAddKey <device>
After being prompted for any one of the existing passprases for authentication, you will be prompted to
enter the new passphrase.
29.5.3. Remove a passphrase or key from a device
cryptsetup luksRemoveKey <device>
You will be prompted for the passphrase you wish to remove and then for any one of the remaining
passphrases for authentication.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 12: ...xii ...
Страница 20: ......
Страница 30: ...12 ...
Страница 32: ...14 ...
Страница 82: ...64 ...
Страница 106: ...88 ...
Страница 122: ...104 ...
Страница 124: ...106 ...
Страница 126: ......
Страница 132: ...114 ...
Страница 168: ...150 ...
Страница 182: ...164 ...
Страница 192: ...174 ...
Страница 194: ......
Страница 236: ...218 ...
Страница 238: ...220 ...
Страница 270: ......
Страница 274: ...256 ...
Страница 278: ...260 ...
Страница 292: ...274 ...
Страница 294: ......
Страница 300: ...282 ...
Страница 304: ......
Страница 316: ...298 ...
Страница 357: ...Creating Partitions 339 Figure 32 7 Creating a Software RAID Device 4 Click OK to add the device to the list ...
Страница 370: ...352 ...
Страница 384: ...366 ...
Страница 385: ...Part VII Appendix ...
Страница 386: ......