26
submitted 7 hours ago by egsaqmojz@lemmy.ml to c/linux@lemmy.ml

has anyone had any luck encrypting their root partition and unlocking it with a yubikey on boot? im tired of typing in the passphrase on my laptop on boot.

you are viewing a single comment's thread
view the rest of the comments
[-] MalReynolds@piefed.social 2 points 2 hours ago

You can just use any USB drive with a couple of kernel parameters. Don't see what YubiKey is bringing to the table here. If you're use case is good with that you can also install pam_usb and not have to type sudo passwords either. Remove the key and (hard if needed) power off and you're back to a normal secure system. Been doing it for years myself.

this post was submitted on 05 Dec 2026
26 points (96.4% liked)

Linux

69010 readers
1396 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS