In some circumstances (such as traveling for business) it is impractical for system administrators to work directly with the affected systems, but users still need access to their data. In this case,
volume_key can work with passphrases as well as encryption keys.
During the system installation, run:
This generates a random passphrase, adds it to the specified volume, and stores it to
passphrase-packet. It is also possible to combine the
-o options to generate both packets at the same time.
If a user forgets the password, the designated user runs:
volume_key --secrets -d
This shows the random passphrase. Give this passphrase to the end user.