How to change a passphrase of an existing LUKS device?
Issue
- How to reset the password of existing LUKS devices?
- Can I change the passphrase for the new deployed VM instead of the same passphrase?
- During installation LUKS key passphrase enabled for the encrypted device
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- LUKS2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.