79
Sekyuritee (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] Mikina@programming.dev 4 points 1 week ago

Is there any OS that allows this config?

At least with Linux, if I encrypt my hard drive, I have to enter my encryption password on every login, for some even during boot.

Not sure about Windows. I wpuldn't be surprised if you can have bitdefender on with auto login.

[-] Aurenkin@sh.itjust.works 4 points 1 week ago

From memory yes but the contents of your home directory are inaccessible until you enter your password via a popup. For whole drive encryption probably not.

[-] ArsonButCute@lemmy.dbzer0.com 2 points 1 week ago* (last edited 1 week ago)

I had configured this manually (incorrectly) in Arch a while back to have my home dir be on a separate encrypted drive.

Turns out the main drive didn't get the memo and still had a home folder which worked fine, I thought it was working so I promptly forgot about it. Meanwhile the encrypted drive (which had only ever been unlocked that day and never again) had maybe 10 files on it that I didn't even know it had until I swapped the drive into a different PC.

[-] passepartout@feddit.org 2 points 1 week ago* (last edited 1 week ago)

You could configure the TPM to effectively store the LUKS key. User login is skippable. So yes, should be possible.

[-] srestegosaurio@lemmy.dbzer0.com 2 points 1 week ago

You can have FDE binded to the TMP and then inside that encrypted volume an encrypted home.

By doing that you only need to input your login password and get better security than the meme setup and other suggestions.

You would need, iirc (I am typing this from memory):

  • A TPM.
  • systemd-cryptenroll
  • Some PAM config for fscrypt or similar.

I know the steps but for NixOS only lmao.

[-] aeharding@vger.social 1 points 1 week ago

At least with Linux, if I encrypt my hard drive, I have to enter my encryption password on every login, for some even during boot.

Look up TPM.

[-] deadcade@lemmy.deadca.de 1 points 1 week ago

There is a way, but no point in doing so. As such no OSes offer such an option out of the box. For file encryption to be of any use, you need there to be some kind of authentication before being able to access those files (like a password).

The easiest method would be to encrypt the entire drive, as modern Linux and Windows both support using the TPM for automatic unlocking. With that, set up standard user autologin and you've made the drive encryption useless.

[-] PumpkinEscobar@lemmy.world 1 points 1 week ago

Can do full disk encryption of root and auto-unlock with tpm, the auto-login is a separate thing and not necessarily the same password

[-] ExLisper@lemmy.curiana.net 1 points 1 week ago* (last edited 1 week ago)

In Linux, Unlock the partition with secret key (easy) and skip login (easy). Overall: easy.

[-] SorryQuick@lemmy.ca 1 points 1 week ago

Mine autodecrypts with a hardcoded password in a text file. I don’t really care about encryption right now, but the minute I do, it’s one file delete away.

this post was submitted on 24 Dec 2025
79 points (98.8% liked)

linuxmemes

28664 readers
211 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • Don't come looking for advice, this is not the right community.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  •  

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS