Hack of the day: easily configure Linux hosts to reboot once or always without requiring a decryption key

By | October 28, 2022

I have LUKS encryption configured on all of my Linux desktops and laptops, which is a pain when I need to reboot one remotely, since it prompts for the decryption key and won’t finish rebooting until the key is entered.

To solve, this, I’ve written keyless-entry, which allows the user to easily configure a LUKS-encrypted Linux machine to boot without the decryption key being entered manually, either every time or just for the next reboot.

This solution is based on the technique provided by Tobias on AskUbuntu, but it’s more user-friendly since it handles all the configuration stuff for you automatically and provides the ability to only bypass the key prompt on the next reboot.

Share and enjoy!

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *