How to change a passphrase of an existing LUKS device?

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content