Results 1 to 3 of 3

Thread: How to change LVM ENCRYPTED password ?

  1. #1
    Join Date
    2019-Dec
    Posts
    1

    How to change LVM ENCRYPTED password ?

    Hi,

    I recently install Kali Linux with LVM. I encrypt my disk with a low password and i would like to change. How i can change this password ?
    I follow this link : https://wiki.debian.org/LVM
    But all commands doesn't work.

    Any help ?
    Thanks

  2. #2
    Join Date
    2020-Mar
    Posts
    2
    Hi Ozwark,

    I had the same problem than you, here my solution:

    • List the content of the crypttab file to get the name of the partition:

    Code:
    cat /etc/crypttab
    The result will look like this:
    Code:
    sda3_crypt UUID=e976dbf9-75d9-4e9a-b633-d1ecd6010130 none luks,discard

    • In my case, the next step will be:

    Code:
    /sbin/cryptsetup luksChangeKey /dev/sda3
    and it will ask you your current passphrase and the new one.

  3. #3
    Join Date
    2020-Mar
    Posts
    2
    Hi Ozwark,

    I had the same question than you, here my solution.

    First, check which device is used:
    Code:
    # cat /etc/crypttab
    
    sda3_crypt UUID=f2a99a6b-fab4-42a9-b481-c00fb1c607ed none luks,discard
    Then, use this command:
    Code:
    # /sbin/cryptsetup luksChangeKey /dev/sda3
    and it will ask you your current passphrase and the new one (twice).

Similar Threads

  1. Replies: 1
    Last Post: 2020-11-22, 19:37
  2. Forgot encrypted presestence password
    By thegreatandrew in forum Installing Archive
    Replies: 3
    Last Post: 2020-10-24, 11:55
  3. Live USB with Encrypted Persistence ROOT password?
    By king_kratos in forum Installing Archive
    Replies: 2
    Last Post: 2016-02-26, 05:04
  4. Replies: 0
    Last Post: 2015-09-24, 09:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •