Tag: cryptsetup

Change Fedora LUKS passphrase

Open a command tool Enter current passphrase in slot 0 Add new passphrase into slot 1 > su – Password: xxxxxx # cryptsetup luksAddKey /dev/sdc1 If you delete both slots…You’ve lost everything. Delete original passphrase in slot 0 # cryptsetup

Tagged with: , , , , ,

[HOWTO] Automatically Unlock and Automount LUKS Encrypted Drives

Switch up to root su – Password: xxxxx Create a keyfile containing random data, make it readable onlly to root dd if=/dev/urandom of=/root/keyfile bs=1024 count=4 chmod 0400 /root/keyfile The following requires the crypto drive partition, X being the drive and

Tagged with: , , , , , , , ,
Top