Setup Multiple Passphrases for a LUKS Device
September 13, 2023
#100DaysToOffload
#Linux
#LUKS
Let’s say you have a computer at home shared by multiple people. And, you want to encrypt your hard drive with LUKS but not have to use the same passphrase.
You can do that. LUKS has 8 key slots (LUKS1 does, LUKS2 can support more).
When you set up a LUKS encrypted device you are configuring the first key slot only.
But by running the following command you can set up an additional passphrase:
cryptsetup luksAddKey <device>
Example
|
|
This post is 42nd of my #100DaysToOffload challenge. Want to get involved? Find out more at 100daystooffload.com.
comments powered by Disqus
Similar Blog Posts
September 10, 2023
#100DaysToOffload
#Buildx
#Docker
+1