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
1answer
32 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 ...
0
votes
0answers
102 views

LUKS disk encryption with mandatory Yubikey

I've read most of the tutorials on the internet about Yubikey, consumed a lot of coffee in the process, and still, haven't found a way to configure Ubuntu 20.04 and\or Yubikey in order to have a ...
0
votes
1answer
442 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 ...
0
votes
1answer
81 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 ...
0
votes
0answers
25 views

How to recover unencrypted Ecryptfs directory when corresponding Ecryptfs /.Private directory has been deleted

I am trying to recover a non-encrypted directory that was deleted when the corresponding Ecryptfs directory was deleted. Unfortunately, I was cleaning up storage on my desktop, saw the /.Private ...
0
votes
0answers
34 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 ...
0
votes
0answers
31 views

encryptfs - turning on filename encryption after the fact

I've got a folder containing a lot of data that has been encrypted with the options ecryptfs_enable_filename=n,ecryptfs_enable_filename_crypto=n. Is it possible to turn on filename encryption after ...
0
votes
1answer
84 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....
2
votes
1answer
193 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 ...
0
votes
1answer
39 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 ...
0
votes
0answers
172 views

Trying to access Ubuntu files from Windows 10. Previously a dual boot drive

I was running my previous laptop w/ dual boot for Win 7 & Ubuntu 16. That laptops processor burnt out and it was a model that had the processor soldered onto the mobo. So, I purchased a new laptop ...
1
vote
1answer
336 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 ...
1
vote
0answers
25 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 ...
0
votes
0answers
113 views

Error setruid: Operation not permitted when using ecryptfs-mount-private

Ok so on Monday I mucked up and ran he following command. sudo chown -R username:www-data / Which should have been: sudo chown -R username:www-data /var/www/html This basically screwed up half the ...
1
vote
0answers
49 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 ...
0
votes
0answers
24 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....
0
votes
0answers
242 views

use of TPM to generate and store a private key then to use this key and the associate certificate in a netplan configuration

I use an encrypted private key, the corresponding certificate, etc. to define the configuration of netplan with eap-tls authentication. Everything is fine so far but I have to protect the private key ...
0
votes
0answers
253 views

Encrypted home .Private folder eats up disc space in Ubuntu 18.04

I'm running out of disc space due to a huge .Private () folder maintained by ecryptfs. I encrypted my complete home with ecryptfs 2 years ago and I deal with little but important data on the system. ...
2
votes
2answers
537 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 ...
0
votes
1answer
72 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, ...
1
vote
0answers
307 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: ...
1
vote
1answer
177 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 ...
0
votes
1answer
234 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 ...
0
votes
1answer
89 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 ...
1
vote
0answers
108 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 ...
-1
votes
1answer
70 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 ...
1
vote
0answers
76 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 ...
0
votes
1answer
93 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 ...
0
votes
0answers
31 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 ...
0
votes
1answer
114 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 ...
1
vote
0answers
129 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-...
0
votes
0answers
133 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 ...
0
votes
2answers
394 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, ...
1
vote
1answer
308 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 ...
0
votes
0answers
93 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 ...
0
votes
1answer
347 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/...
-1
votes
1answer
533 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 ...
0
votes
1answer
61 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 ...
2
votes
0answers
550 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: ...
0
votes
1answer
310 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.
1
vote
1answer
106 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 ...
0
votes
1answer
566 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 ...
0
votes
1answer
291 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 ...
0
votes
1answer
65 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 ...
0
votes
0answers
53 views

How do I properly change my password in Xubuntu 16.04 without breaking my system? [duplicate]

Yesterday I changed my Xubuntu 16.04 user password using passwd in the terminal. I continued working all day, everything was fine. Today I turn on my machine, try to log in and I'm stuck in a log-in-...
0
votes
1answer
134 views

File system is reported full with half of it use by ecrypt and other half by the /home/user

I install my workstation using the installer provided option to encrypt my "/home" directory, I expected it to be completly transparent on usage but after the system warn me that the filesystem was ...
0
votes
0answers
97 views

Need to access encrypted pass phrase

My system is telling me that to restore test so I can retrieve files in the case of an emergency i need my encrypted password. I have tried the command ecryptfs-unwrap-passphrase and I get: ecryptfs-...
0
votes
0answers
68 views

Change Location of ecryptfs Private Folder to USB Drive Folder

I'm running Kubuntu 18.04. I've installed ecryptfs and have a ~/Private folder that seems to work fine. I'd like to change the location of the ~/Private folder to "/dev/sdb1/Private" where sdb1 is a ...
0
votes
0answers
146 views

Encryption using ecryptfs

I'm running Kubuntu 18.04. I installed ecryptfs but Private folder is not encrypted. I ran... sudo apt-get install ecryptfs-utils Then I ran... ecryptfs-setup-private The terminal output looked like ...
6
votes
2answers
5k views

Setting correct size for “cryptsetup: WARNING: Option 'size' missing in crypttab for plain dm-crypt mapping root” message

I have a full disk encryption using ecryptfs, after upgrading to 18.10 a warning message started to appearing at boot: cryptsetup: WARNING: Option 'size' missing in crypttab for plain dm-crypt ...

1
2 3 4 5
9