Can I ENCRYPT the Home folder AFTER install?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
1bit
Level 1
Level 1
Posts: 7
Joined: Fri May 10, 2019 3:35 pm

Can I ENCRYPT the Home folder AFTER install?

Post by 1bit »

Hi

I wanted to install Linux FEREN but it doesn't offer OS ENCRYPTION, so I settled for MINT and encrypted the OS with my 13-digit password thinking everything will be encrypted on the SSD and only have to type my 13 digit password once - i notice to get yer home folder encrypted too you have to have a 2nd password, I dont fancy typing it twice just to get onto the desktop - but if I must to have all my stuff private.. because AUTOLOGIN doesnt work with home folder encryption, i already have a password for it, just it aint encrypted

can anyone help here? :
1) do i have to reinstall with the home folder encrypted?
2) or can i do it within the current install

Im a Linux NOOB (almost) and wanting to get my Linux PC as my main internet PC, but want EVERYTHING encrypted so that if the drives pulled or scanned its gobbledegook

thanks
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pierre
Level 21
Level 21
Posts: 13215
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Can I ENCRYPT the Home folder AFTER install?

Post by Pierre »

Hi 1bit,
you do have to typically do any sort of encryption, during the actual Installation itself.
:)

the Linux System is somewhat stricter in it's user requirements, than the Windows System,
that you would be used to using. ..

thus you will have to redo your LinuxMint Installation, if you do wish to use any encryption.

you can, however, utilise another drive, such as an usb stick, and place some encryption onto that media.
and thus keep your important data on that drive, instead of in the LinuxMint Home directory.
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
1bit
Level 1
Level 1
Posts: 7
Joined: Fri May 10, 2019 3:35 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by 1bit »

oh well - shame they cant just provide a single password that unlocks both
start my reinstall now.
thanks for your help :)
djph
Level 7
Level 7
Posts: 1927
Joined: Thu Jun 27, 2019 5:43 am
Location: ::1

Re: Can I ENCRYPT the Home folder AFTER install?

Post by djph »

If you selected the "encrypt user home directory" option at install time, it will use the same password as your login password.

If you added it after the fact, it is possible to set things up for automatic decryption at login. The Arch Wiki entry is pretty good in its description of how to deal with this.

Autologin throws everything out the window, and (IMO) causes more trouble than its worth.
Mac to Linux
Level 1
Level 1
Posts: 32
Joined: Sun Nov 20, 2022 5:31 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by Mac to Linux »

duplicate entry removed
Last edited by Mac to Linux on Sat Nov 26, 2022 2:22 pm, edited 1 time in total.
t42
Level 11
Level 11
Posts: 3732
Joined: Mon Jan 20, 2014 6:48 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by t42 »

Mac to Linux wrote: Fri Nov 25, 2022 12:58 am Apple and Microsoft appear to have an advantage in volume encryption, which may be a concern for Linux laptop owners.
how so?
Windows BitLocker has many limitations, such as requirement of TPM modules, UEFI Secure Boot, and the devices should meet Modern Standby requirements etc. Compare it with immediately available without any limitations in Linux block-device encryption methods: Dm-crypt, LUKS1, LUKS2, LVM with many modes and features, crossplatform VeraCrypt, filesystem-level eCriptfs, cryptographic software GnuPG, OpenSSL and many more.
-=t42=-
Mac to Linux
Level 1
Level 1
Posts: 32
Joined: Sun Nov 20, 2022 5:31 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by Mac to Linux »

how so? ...
My experience in this area is only Mac OS X. I am not a Windows lover... I can hardly stand using Windows at work, and I avoid it like the plague everywhere else.

Turning FireVault on/off is about as foolproof as any drive encryption could be... just a flip of a switch in the OSX Security and Privacy pane. The entire drive gets encrypted or decrypted with a single button press, not instantaneously but pretty fast.

Some people experienced data loss with FileVault in the early years, when it was still a little flaky, or because they lost their password. But I share my own testimonial from 2012:

After my 17 inch PowerBook got stolen from my locked desk, which was "safely" located inside my locked office, which was "safely" inside another locked office containing confidential medical documents for thousands of patients, with a continuous security video camera "safely" located outside the office door -- I felt completely and utterly violated. Somehow the government building's security camera system got turned off for two hours the night my laptop went missing. Nobody in the fully-staffed Security office "noticed." The County Sheriff Dept Detective was "baffled" (aka too scared or lazy to ask questions, or maybe some other reason.) :twisted: At least I was confident that the thieves would not destroy my financial life or kidnap my children based on photos on my laptop HD. Filevault transformed a potentially life-changing event into a merely upsetting event.

Data encryption is mandatory for desirable laptops, even when they are in "safe" situations. I am not sure if that explanation was what you were looking for?

I will look into VeraCrypt.
Mac to Linux
Level 1
Level 1
Posts: 32
Joined: Sun Nov 20, 2022 5:31 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by Mac to Linux »

1bit wrote: Sun Sep 26, 2021 5:04 am Im a Linux NOOB (almost) and wanting to get my Linux PC as my main internet PC, but want EVERYTHING encrypted so that if the drives pulled or scanned its gobbledegook
That sentence describes me perfectly.

With his permission I am quoting an expert here, AndyMH, regarding the downsides of encryption:
The problem with encryption is that the linux backup image utilities don't understand it (clonezilla, might, never looked) so they use dd to copy the whole partition, takes longer and larger image file. For known filesystems they only copy used blocks, which is a lot quicker.
viewtopic.php?f=90&t=245350&start=20

Without copy-pasting private messages, Andy recommended using Veracrypt containers for sensitive data. LUKS full disc encryption has a history of people losing their data, so he didn't recommend it.
t42
Level 11
Level 11
Posts: 3732
Joined: Mon Jan 20, 2014 6:48 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by t42 »

Mac to Linux wrote: Sun Nov 27, 2022 3:40 am ...
you're replying to a post which is more than a year old and OP was not seen on the forum since September 2021. If you have a specific question or help request just open your own thread.
-=t42=-
User avatar
axrusar
Level 6
Level 6
Posts: 1489
Joined: Sat Jan 30, 2021 5:30 pm

Re: Can I ENCRYPT the Home folder AFTER install?

Post by axrusar »

Mac to Linux wrote: Sun Nov 27, 2022 3:40 am
... using Veracrypt containers for sensitive data. LUKS full disc encryption has a history of people losing their data, so he didn't recommend it.
I have used Veracrypt hidden containers on an external disk, and for some unknown reason (I suspect I did not unmount it properly or some kind of data corruption), I lost one of the containers. Luckily I had the data copied somewhere else so no pain. Veracrypt is great, just be careful using it.
Linux Mint Una Cinnamon 20.3 Kernel: 5.15.x | Quad Core I7 4.2Ghz | 24GB Ram | 1TB NVMe | Intel Graphics
Image
Locked

Return to “Beginner Questions”