Show Table of Contents
C.5. 一般安裝完成後所需進行的工作
下列部份涵蓋了有關於安裝後所需進行的一般工作上的相關資訊。
C.5.1. 設定一組隨機產生的金鑰來作為存取加密區塊裝置的額外方式
以下部份將涵蓋如何產生金鑰和新增金鑰。
C.5.1.1. 產生金鑰
這會在
$HOME/keyfile 檔案中產生一組 256 位元的金鑰。
dd if=/dev/urandom of=$HOME/keyfile bs=32 count=1 chmod 600 $HOME/keyfile
C.5.1.2. 將金鑰新增至加密裝置上,一個可用的 keyslot 中
cryptsetup luksAddKey <device> ~/keyfile

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.