Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: HowTo: Feisty Fawn & dm-crypt / LUKS

  1. #21
    Join Date
    Apr 2008
    Beans
    3

    Re: HowTo: Feisty Fawn & dm-crypt / LUKS

    sudo cryptsetup luksDelKey /dev/HARDDISK key_number

    Please update your instruction .

  2. #22
    Join Date
    Apr 2008
    Beans
    1

    Lightbulb Re: HowTo: Feisty Fawn & dm-crypt / LUKS

    If you're using full disk encryption, and you're just trying to change the password of your existing system, you can do the following:

    1) download any live Linux CD that has the "cryptsetup" utility available (I used Backtrack 4).

    2) boot into the live CD, and open a terminal window

    3) run this command to see your LUKS info:
    cryptsetup luksDump /dev/<your LUKS partition>

    4) you should have several available key slots. add your new password to one of them like this:
    cryptsetup luksAddKey /dev/<your LUKS partition>

    5) you can run the command from step 3 again to verify. then reboot and verify that your new password works. Your old password should also still work at this point.

    6) to remove the old password, simply repeat steps 1 & 2, and run the following command to delete the old key (be sure to select the old keyslot!):
    cryptsetup luksKillSlot /dev/<your LUKS partition> <slot number>

    repeat step 3 to verify. you should now find that your old key no longer works. That's it!

  3. #23
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: HowTo: Feisty Fawn & dm-crypt / LUKS

    Thread closed: necromancy & thread originally related to a 3-year-old release of Ubuntu
    Forum DOs and DON'Ts
    Please use CODE tags
    Including your email address in a post is not recommended
    My Blog

Page 3 of 3 FirstFirst 123

Bookmarks

Posting Permissions

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