Score:2

Ubuntu 22.10 - Enabling fscrypt for user directory after installation

jp flag

Best practices for encrypting files on a Ubuntu computer (e.g. to prevent data loss from stolen laptops that were locked or shut down while being stolen) appear to change from time to time. With ecryptfs for user home directory encryption not being recommended any more nowadays, and full-disk encryption being available as an alternative, it looks like that with Ubuntu 22.10, fscrypt is an officially supported way to encrypt home directories or parts thereof if full-disk encryption is not desired.

What is a suitable way to enable fscrypt for a user directory or selected subdirectories thereof with automatic unlocking on login after the installation of Ubuntu 22.10 or one of its variants? There is a documentation for Arch Linux, which appears to be up-to-date, and a blog entry for Ubuntu 18.10 can be found. However, the former may not apply to Ubuntu well. Since encryption appears to be a topic of active development, the latter (blog entry) may be heavily outdated.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.