Is it possible to set the LUKS key of a specific slot to the user password?
So if user bob
has a password of 12345
I want to set slot#2 to 12345
.
I know I can set the key of a specific slot using cryptsetup luksAddKey /dev/sda5 -S 2
, but how do I get the password of the user?