Questions tagged [ecryptfs]

eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. Ubuntu's encrypted home directory feature uses this technology.

Filter by
Sorted by
Tagged with
0 votes
1 answer
167 views

Decrypt user home after installing Ubuntu 22.04

I have a laptop with two mount points, one with the system (/) and another with the /home folder. My user folder in /home was encrypted with Ubuntu 20.04. This morning I re-installed the system with ...
user avatar
1 vote
1 answer
12 views

How to set user interface language for user with encrypted home?

After encrypting home directory by means of ecryptfs tool specified UI language is not applied after system restart. If user in the system only one the whole system UI can be changed to needed one. ...
user avatar
0 votes
0 answers
73 views

Future of ecryptfs

I just got a new System76 laptop with ubuntu 20.04 LTS and noticed ecryptfs was no longer set up by default. Some of my online research shows ecryptfs hasn't had changes since 2020. And, experiments ...
user avatar
1 vote
0 answers
29 views

Writing to encrypted home directory from live USB [closed]

I want to replace my entire home dir with a backup. While not logged in, so I don't break things. It's encrypted and the backup is (unencrypted) on an external SSD. I plan to boot from a live USB and ...
user avatar
0 votes
0 answers
219 views

Mount LUKS encrypted partition at login

I would like to mount a LUKS partition on login. The solutions I have found involve using either: a LUKS passphrase that is equal to the user's password, or a keyfile that is stored in the HOME ...
user avatar
  • 309
0 votes
0 answers
66 views

After encrypting a file, using the same encryption method and entering a different password, the file is decrypted

With the encryption tool I downloaded, I encrypt a file with the command sudo apt-get install ecryptfs-utils. After performing the operations, I use the umount command and encrypt the .txt files in ...
user avatar
0 votes
1 answer
185 views

Ecryptfs cannot find a key NOT associated with the mount passphrase

Using Ubuntu 18.04 after an upgrade from 16.04. No intention for the moment to upgrade to 20.04. I am having troubles with ecryptfs when logging in into one of two users. I am working from a tty ...
user avatar
  • 1,251
5 votes
1 answer
285 views

Ubuntu 18.04 does not switch between users after upgrade

I have upgraded Ubuntu 16.04 to Ubuntu 18.04. I do not intend to make a further upgrade to Ubuntu 20.xx for the moment. All looks to have gone well except the switching of users from within the ...
user avatar
  • 1,251
0 votes
0 answers
44 views

"umount:ecryptfs: Failed to find key with sig" on shutdown; why?

Every time I shut my system down it seems to be unable to umount ecryptfs volumes correctly. Why it may happen? What should I check to debug this problem? Oct 19 23:46:39 hebel umount.ecryptfs[15033]: ...
user avatar
  • 101
0 votes
0 answers
50 views

How to keep an encrypted home directory mounted (even after logout)

Sometimes I'd like to ssh to a machine, mount my encrypted home directory and disconnect and keep the directory mounted. What I managed already to do is ssh to my machine (without password only ...
user avatar
  • 101
0 votes
0 answers
100 views

Up-to-date solution for home encryption in (X)ubuntu 20.04

For a desktop computer located at work, full-disk encryption is not a relevant option, because: when I am away, the computer is most of the time ON, for remote SSH access ; there are multiple users ; ...
user avatar
0 votes
0 answers
21 views

User with encrypted home getting frozen

I have two latops, on each of them I have a user without encrypted home folder. I wanted to encrypt the home folders of these users so I followed this tutorial. These two are completely different ...
user avatar
  • 109
6 votes
2 answers
1k views

Resize swap partition on Ubuntu 20.04 using encrypted LVM

I have a pretty standard Ubuntu 20.04 setup, with LVM and encrypted hard drive. However, the standard setup seems to have provided a very small 900 MB swap (or did I choose that?), and it now ...
user avatar
  • 707
0 votes
1 answer
112 views

How to let Chrome Remote Desktop run with encrypted /home before login

Background: I have a headless system put on a public place. I installed Chrome Remote Desktop on it, so that it can automatically launch several desktop applications after boot, and I can connect ...
user avatar
2 votes
1 answer
4k views

What is the recommended method to encrypt the home directory in Ubuntu 21.04?

Installing Ubuntu to a new Notebook, I was surprised that I wasn't offered the option to encrypt the home directory any more. I found some vague information that Ubuntu dropped ecryptfs support a ...
user avatar
  • 5,766
0 votes
1 answer
136 views

I Can't Log In to my Account after Password reset

I forgot the password to my admin account in ubuntu, I googled how to reset ubuntu admin password, then did the following steps from the tutorial that I found online Enter Recovery Drop to root shell ...
user avatar
  • 13
0 votes
0 answers
86 views

Encrypted disk passphrase prompt

After installing Ubuntu 18.04 with an encrypted drive, I expected to see a passphrase prompt before the normal prompt for login. Instead, I only see the usual bootup process until it stops on a blank ...
user avatar
  • 101
0 votes
1 answer
136 views

Booting to black screen (possible ecryptfs failure)

I've been running 20.10 on my machine without problems for a while now. I was in the process of trying to encrypt the home folder of a second user with ecryptfs following this article https://www....
user avatar
3 votes
1 answer
564 views

Decrypt ecryptfs files recovered from photorec

I have managed to recover files from a disk with a damaged partition table using photorec. Photorec does not preserve the file name or file structure so all I have are a bunch of randomly named files ...
user avatar
0 votes
1 answer
59 views

New ubuntu install mounting to an old /home drive and partition - can no longer access due to .Private and .ecryptfs

did a fresh ubuntu mate install (18.04 LTS to 20.04 LTS) on a ssd mounting to a HDD with an old /home partition. It was first unable to boot in but I was able to make it work by redirecting the ...
user avatar
1 vote
1 answer
800 views

I can't login to Ubuntu 20.04 - encrypted /home partition - SOLVED

I had Ubuntu 18 before and I reinstalled Ubunto 20.04 on / partition. I didn't change /home partition during the installation process. I set the same username and. password I had before. When I try to ...
user avatar
  • 151
1 vote
0 answers
35 views

Recovering encryptfs volume from old Ubuntu install

I have some backups of an encryptfs systems. I am fairly sure they have no useful data but I want to experiment how I would have recovered it. I do not have the long recovery key, because, who really ...
user avatar
  • 259
1 vote
0 answers
60 views

Encrypted home folder gets unmounted just like that

Since yesterday I have encountered something rather odd twice in what is a fresh Ubuntu 20.04 installation (i.e. not upgraded from an older version). The machine is just used by me and there is no ...
user avatar
  • 5,281
0 votes
0 answers
27 views

Where's this extra /home folder come from?

My laptop's home drive is encrypted. When I run cd / && ncdu and navigate to /home, I see this: 50.0 GiB /.ecryptfs 50.0 GiB /dan 22.4 GiB /dan.GynX3uiX I'm pretty sure that aint quite right....
user avatar
2 votes
2 answers
847 views

How can I uninstall or disable a gnome extension in an encrypted user home directory?

After installing the good-bye-gdm-flick GNOME extension on 18.04.4, I am no longer able to log in. After logging in, only a purple screen is shown (mouse cursor active). My next course of action would ...
user avatar
  • 31
0 votes
1 answer
78 views

Upgrading Ubuntu 14 to 16 when I accidently pressed suspend

I don't have any programing background. So, I was upgrading the system via terminal, when it just started, i pressed suspend, instead of lock. The screen froze. I switched it off. And when restarting, ...
user avatar
1 vote
0 answers
491 views

Error: Encrypted private direction is not setup properly

Update 2: I've used my MOUNT passphrase to use ecryptfs (which I got after adding universe as a repository) successfully, according to the terminal: sudo ecryptfs-recover-private /mnt/int-hdd INFO: ...
user avatar
  • 11
1 vote
1 answer
567 views

A dependency job for cryptsetup.target failed. See 'journalctl -xe' for details

I am trying to encrypt swap file in 20.04 post-installation (i successfully conducted home dir encryption). I have a swap file created, with an UUID, and these are my fstab: # /etc/fstab: static ...
user avatar
  • 11
0 votes
1 answer
604 views

"cannot open /dev/mapper/cryptswap1: no such file or directory" no matter what I try when encrypting swap file!

I tried every trick in the book and I still can not encrypt the swap file. I always get the error: cannot open /dev/mapper/cryptswap1: No such file or directory So far, I tried creating the ...
user avatar
  • 11
0 votes
1 answer
201 views

Impossible to graphically log in / Unable to create files

I had a message preventing that my disk was almost full. I removed some files (several Gb's) and decided to restart my computer. Now I cannot log in with the graphical interface anymore, I get an ...
user avatar
  • 233
1 vote
0 answers
193 views

Lock keyring and umount ~/Private on lock screen

My Ubuntu-mate 18.04 has quite convenient lock screen. I would like to lock my gnome-keyring and unmount ~/Private (ecryptfs partition) while screen is locked. The idea is to get a protection ...
user avatar
  • 151
-1 votes
1 answer
85 views

Cant access ubuntu as i overloaded my drive- ecryptfs is read only

So finally after hours of reading around and listening to tons of advice I found out how to access my account and mount ecryptfs. So okay, I'm closer to my goal of deleting image.img, which is ...
user avatar
1 vote
0 answers
95 views

home encryption - how does it work with different users / passwords?

In Ubuntu 16.04 you have the option of encrypting the /home/$USER directory with ecryptfs just by ticking a box at install time. /home/$USER is unlocked seamlessly when you log in. The install process ...
user avatar
  • 201
0 votes
1 answer
97 views

I have decrypted ecryptfs encrypted /home, now what?

Long story short: Currently I have a /home partition (with no os installed, no root partition) encrypted with ecryptfs. Following numerous tutorials and guides, I have successfully mounted the ...
user avatar
  • 117
0 votes
0 answers
32 views

Forgotten password and ecryptfs [duplicate]

I forgot my Ubuntu password. I entered recovery mode and changed the password for my user with passwd as root. I haven't used that machine for a long long time, so I also forgot that my home folder ...
user avatar
0 votes
2 answers
149 views

Apparmor problem with ecryptfs mount on mysql folder

I am getting mysql to run on a ecryptfs filesystem in a standard LAMP stack running in DigitalOcean Ubuntu 18.04.2 for a Wordpress website. It is running well with the process below, except that ...
user avatar
1 vote
0 answers
208 views

Problem mounting .ecryptfs home folder after entering correct passphrase!

I have and encrypted home folder on my previous OS (Lubuntu 18.04) which is not bootable now and need to recover it from Live OS. When I run following command to decrypt my home folder: sudo ecryptfs-...
user avatar
  • 2,528
0 votes
0 answers
163 views

Boot fail after update: How to access encrypted home directory from root shell

My Ubuntu 18.04 laptop has failed to boot up since an update yesterday evening. I'm getting a "Started Hold until boot process finishes up" message. This question and answer suggest that I need to ...
user avatar
  • 327
1 vote
2 answers
457 views

access ecryptfs disc from ubuntu 19 with ubuntu 18

When I installed Ubuntu 19 it offered to encrypt the disc where I have my /home partition. I chose that because I thought my data would be safer. For different reasons I was not happy with Ubuntu 19, ...
user avatar
1 vote
1 answer
517 views

How can I mount/recover my ecryptfs-encrypted home?

I recently found an old disk with files in my ecryptfs-encrypted home folder that I want to recover. However I cannot boot into the system as it does not boots not. I need to attach the old disk to my ...
user avatar
0 votes
0 answers
101 views

System recovery: can’t manipulate encrypted files

Something has used up all the disk space on my home directory and caused my computer to freeze up. I tried to reboot and the system would not do so, and I then booted into recovery mode. Using the ...
user avatar
1 vote
1 answer
567 views

Finding ecrypt-recover-private mountpoint

After heavily struggling on mounting my ecrypted hdd, I now want to securely unmount the recovered hdd. I did it as proposed in this question. It was mounted by using $user> cd /media/$user/...
user avatar
  • 192
-1 votes
1 answer
813 views

ecryptfs-unwrap-passphrase FAILS with WORKING loggin password? [duplicate]

sudo ecryptfs-unwrap-passphrase /home/username/.ecryptfs/wrapped-passphrase This should work with my 'login' password. I'm logged in to the user account, I can see my files, yet that command fails ...
user avatar
  • 119
0 votes
1 answer
64 views

how to decrypt an ordinary folder (not home, nor partition, nor .Private)

Following the procedure described here I could create an encrypted folder in an external drive. mount -t ecryptfs /media/foo/bar /media/foo/bar Then I put some stuff inside, restarted my computer ...
user avatar
  • 141
2 votes
0 answers
744 views

ecryptfs: mount: No such file or directory

I installed ecryptfs-utils in my new Ubuntu 18.04 LTS with the following command: $ sudo apt install ecryptfs-utils Then I set up a Private directory as described in a wiki.archlinux documentation: ...
user avatar
  • 1,357
0 votes
1 answer
313 views

Ubuntu gets stuck in a login loop - 16.04, 18.04 [duplicate]

My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.
user avatar
1 vote
1 answer
148 views

Double encryption

With Ubuntu 14.04 I used to encrypt a Private directory with ecryptfs. Now I am considering enhancing security by encrypting the whole disk, checking the checkbox “Encrypt the new Ubuntu installation ...
user avatar
  • 1,357
0 votes
1 answer
736 views

How to Mount and Unmount encrypted folder in Ubuntu 18.04?

I made an encrypted folder in my Home Directory following this method https://www.howtoforge.com/tutorial/how-to-encrypt-directories-with-ecryptfs-on-ubuntu-16-04/ But now I can't understand how to ...
user avatar
  • 131
0 votes
1 answer
338 views

What Packages Does KDE Vaults Need to Operate?

I'm planning on un-encrypting my home directory for easily moving it to an SSD (by following this tutorial: https://askubuntu.com/a/4960/645874), but I'm not sure if this will affect KDE Vaults. Does ...
user avatar
  • 1,353
0 votes
1 answer
81 views

Issues recovering and encrypted home drive

I have an encrypted home folder from a 16.04 install that survived an upgrade to 18.04. Later, in 18.04, everything went wrong and now I'm having to recover my home folder from a live USB so I can ...
user avatar
  • 26

1
2 3 4 5
9