Questions tagged [ecryptfs]
eCryptfs is a POSIX-compliant enterprise-class stacked cryptographic filesystem for Linux. Ubuntu's encrypted home directory feature uses this technology.
146
questions with no upvoted or accepted answers
0
votes
0
answers
162
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
0
answers
257
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 ...
0
votes
2
answers
411
views
18.10 upgrade from 18.04 -- Login loop. Can't mount private data
Upgraded from 18.04 to 18.10. All worked well until I shut down. Now when I boot up, I get the login loop. Enter passphrase and go back to main login screen.
I did the CTRL+ALT+F3 and find that my ...
0
votes
0
answers
133
views
Mount old ubuntu hard disk with encrypted home directory
I'm trying to recover data from an old hard-drive.
It is installed with Ubuntu and the home directory is encrypted, and I don't have the passphrase for ecryptfs tools. So as I thought that maybe I ...
0
votes
1
answer
130
views
How to make ubuntu auto-mount my encrypted home again?
So I recently changed my password and I've been unable to log in properly since then.
I've rewrapped my ecryptfs key and used it to mount my encrypted filesystem successfully using ecryptfs-recover-...
0
votes
0
answers
2k
views
Lost password and passphrase for encrypted home directory
I've been away from my computer for a few months and forgot my Ubuntu login password. This is a problem since I have an encrypted home directory with lots of important files on it.
I came across ...
0
votes
0
answers
90
views
How to recover files from deleted user partition (I have the password)
I'm in deep, deep trouble. After a sad sequence of events (resized FAT32 via gparted, Windows wouldn't recognize it, used TestDisk and then a bug in the program removed all my partitions), I ended up ...
0
votes
1
answer
235
views
Can't access a local disk, links don't exist
I'm using an Ubuntu 17 ISO on a USB drive to recover my Ubuntu 17 install on a laptop that doesn't boot into the GUI any longer. I was wondering about grabbing the files from the local disk, but it ...
0
votes
0
answers
73
views
Encrypted user home page recovery
I am using Ubuntu 16.04 version. I unfortunately lost access to my root user. I managed to login to other users. But as there is important data in it I would like to recover it.
I have tried many ...
0
votes
0
answers
235
views
Ubuntu server doesn't automatically load bashrc config
I installed Ubuntu Server for the first time, and am having problems automatically loading my /home/user/.bashrc config. My home directory is encrypted with ecryptfs, which I think may have something ...
0
votes
0
answers
151
views
File system Root has low disk spaceecryptfs
I am running dual-boot of Ubuntu 16.04 (encrypted home folder) and Windows 10. My kernel is also pinned to 4.4.0-112-generic for driver reasons. Everything has been working fine for months, but ...
0
votes
0
answers
275
views
Why /home/.ecryptfs is missing inside dd image of LVM partition?
Disk Copy
2 month ago I backed up the 128G HDD of an old laptop with Ubuntu 16.04 on it, using dd:
# sudo dd if=/dev/sda of=/media/victor/blackWD/ss9backup.img conv=noerror bs=128k status=progress
...
0
votes
0
answers
101
views
How do I start fresh with ecryptfs
This is my first attempt to use ecryptfs. What am I doing wrong?
mkdir mydir
sudo mount -t ecryptfs ./mydir ./mydir
Passphrase:
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max ...
0
votes
0
answers
111
views
How to provide password / security for a directory even root also want to access?
In My ubuntu, there are some confidential certificates in one directory. my colleagues know my root password and user password. Now i want to restrict to access that folder with password / security ...
0
votes
0
answers
178
views
deja-dup triggers disk I/O failures on Ubuntu 17.04
I have a newly installed 17.04 (from scratch) on a fully encrypted disk, with an encrypted home dir.
If I run deja-dup to make a backup, it is guaranteed that the system will crash. If I tail /var/...
0
votes
1
answer
2k
views
How to recover my encrypted files?
Story:
I lost Ubuntu GUI (unknown problem).
Then tried to recover files via Windows, so I could reinstall Ubuntu. But, when mounting /home partition to Windows, a malware copied the files into a ...
0
votes
2
answers
571
views
ecryptfs home folder Installation and Backup
I've got two questions.
1) Can you install Ubuntu 16.10 with a preexisting encrypted /home partition?
2) What's the best way to back up an encrypted /home partition? Preferably to a second hard ...
0
votes
0
answers
340
views
Decrypt Ubuntu home from USB storage
I will try to explain what happened step by step to be as clear as possible.
I messed up my /boot partition, rebooted and I couldn't make my Ubuntu 14.04 boot again.
I had HDD full encryption. ...
0
votes
1
answer
60
views
cant acess my old files because ecryptfs
Just yesterday, I installed windows 7 when I had Ubuntu but on a different HDD. When I finished, I booted into my Ubuntu HDD but it came up saying that grub has failed.
So I reinstalled Ubuntu to ...
0
votes
0
answers
178
views
Forgot ecryptfs password and know just my current user password and my screen is broken. Can't login
First thing, my laptop screen is broken so I used to use it by connecting it to a TV with an HDMI cable.
I tried to log in after a long time, and I seem to have forgotten the ecryptfs password. I ...
0
votes
1
answer
128
views
How to set a multilevel folder encryption?
How to encrpyt folders multiple time with the number of encryption equal to the depth of the folder?
In other words,if a folder is at depth 3 (contains in 2 other folder from the root) it should be ...
0
votes
1
answer
1k
views
16.04 Encryption disappears, impossible to log-in from desktop environment
Ingredients
Ubuntu 16.04
Linux 4.4.0-47-generic
Antecedents
upgraded Ubuntu from 14.04 from 16.04 months ago (and still regretting it)
modified user and root passwords some time ago
the filesystem ...
0
votes
0
answers
76
views
Having ecryptfs not encrypting /home directory after first login
I'm on Ubuntu 16.06 LTS server and I've encrypted my home with ecryptfs following this procedure. So far so good.
What I like with ecryptfs is that it's possible to remotely reboot the machine and ...
0
votes
0
answers
201
views
Issue moving my encrypted home directory on a new drive
I have installed a second hard drive on my computer (mounted as /media/<my-user-name>/hd2) with one partition only. I'd like to move my home folder on this new drive.
Being logged on my admin ...
0
votes
1
answer
95
views
Swap encrypted with ecryptfs : on which partition is it?
I used ecryptfs to encrypt my home and the swap.
Now I have a device /dev/mapper/cryptswap1 which seems to act as the swap.
(by the way, how can I confirm that?)
Before, my swap was in a partition of ...
0
votes
1
answer
516
views
Encrypted swap won't mount at boot
I need help with my encrypted swap on Ubuntu 14.04. It won't mount.
I used ecryptfs-setup-swap to encrypt the swap.
At boot this error occurs:
device-mapper: rename ioctl on cryptswap1_unformatted ...
0
votes
1
answer
402
views
Encrypted home folder is only partially decrypted by ecryptfs
I'll make this as brief as possible:
-Following an upgrade, lubuntu no longer boots
-I installed ubuntu gnome on a separate partition
-Within the new partition, I mounted the other (lubuntu) ...
0
votes
1
answer
1k
views
How can I setup an encrypted home directory or encrypted disk using TPM?
I'm running Ubuntu 14.04 on a Dell computer that has TPM.
I need to protect the files in the home directory in case the disk
is removed from the computer and plugged into another computer,
encryption ...
0
votes
1
answer
78
views
ecrypftfs - strange non-deterministic behavior
I have two sets of folders:
plaintextA, ecryptfsA
plaintextB, ecryptfsB
They are mounted from fstab. I have a single set of parameters in /root/.ecryptfsrc (actually I have no idea if there is a way ...
0
votes
1
answer
965
views
Is there a way to move directory in the encrypted home to a second disk and keep the encryption ?
I have an install with home encryption (ecryptfs), it works fine, but am running out of space on that first disk, I have a second disk plugged in and formatted to ext4. Is it possible to use the same ...
0
votes
1
answer
191
views
Set a hook on eCryptfs mount
I want to run several commands as root after my eCryptfs is mounted on my login. Can I somehow set a hook for that? Can I do it with systemd?
What I want to achieve is to mount automatically on login ...
0
votes
1
answer
363
views
ecrypte-recover-private not unencrypting with mount passphrase
My laptop (Ubuntu 12.04) stopped mounting my encrypted home drive today after several months of working fine. I have been using the same login password since I set up the encrypted home drive a few ...
0
votes
1
answer
474
views
ecryptfs-recover-private not accepting password
I'm trying to recover my encrypted home directory using an ubuntu liveUSB. When I run ecryptfs-recover-private and it asks for my login passphrase, I type my login passphrase, and it fails. In /var/...
0
votes
1
answer
317
views
Logging in to an encrypted home directory after forgetting my password
I want to try Ubuntu and make it my permanent OS. Hence installed it alongside with Windows 8 on my HP laptop.
I have faced lot of problems to make my system dual boot. I thought it was because lack ...
0
votes
1
answer
178
views
GUI login failure after deleting ecryptfs
Ubuntu 12.04: I run my OS on a 64 GB SSD. So, space is important. Thus, I too hastily deleted ".ecryptfs" to save 10GB. (Ecryptfs was not set up to encrypt my home folder or the disk itself; so I ...
0
votes
1
answer
122
views
Mount file system path as encrypted?
I know how to mount an encrypted ext4 partition. However, now I want to do the opposite. I want to mount a folder of an existing partition somewhere else in my filesystem, but when accessing it, files ...
0
votes
1
answer
224
views
ecryptfs-mount-private fails silently on Ubuntu 12.04.4
I have a remote linux server running Ubuntu 12.04.4, which I had someone restart. Afterwards I tried ssh'ing in, and found my files encrypted.
Strangely this works:
sudo ecryptfs-recover-private
...
0
votes
1
answer
887
views
Recover encrypted home directory files
I tried to recover the home directory files using:
sudo ecryptfs-add-passphrase --fnek
sudo mount -t ecryptfs /home/.ecryptfs/USERNAME/.Private /media/USERNAME/home/
Now everything is mounted ...
0
votes
1
answer
939
views
Mount old encrypted home
I'm aware of this post, but my problem is slightly different.
I have two partitions, one with my old Ubuntu 10.04, and one with my current Ubuntu 12.04. My old home is encrypted using ecryptfs, but I'...
0
votes
1
answer
1k
views
Cannot mount encrypted home after password change, ecryptfs not configured (no passphrase set)
I recently forgot my user password from a relatively fresh Ubuntu 13.04 installation (dual-boot with Windows 7, latter more heavily used). During setup, I had selected the encrypted home directory ...
0
votes
1
answer
518
views
How do I get and keep access to encrypted home dir on an external drive?
I have a clean new install of 12.04 on my internal drive. On my external drive I have everything that used to be on this drive. The file I'm concerned with right now is my old home folder from 10.04....
0
votes
2
answers
3k
views
How to recover encrypted home data with Live CD?
Last night I closed my computer and when I try to login to my account I get rejected even though my password is correct. I tried to reset the PW but nothing so in second place I try to recover my ...
0
votes
1
answer
657
views
How do I encrypt a user's home folder having no password?
The problem I have is that I use eCryptfs to encrypt a user's home folder, but in order to decrypt it the user must have a password. However, after I encrypt the home folder, I would love to change ...
0
votes
1
answer
836
views
Making the old encrypted /home partition (10.10) available to new install (12.04)
I installed Ubuntu 12.04 on a fresh partition and my old Ubuntu 10.10 has my home directory encrypted. I was wondering if I can mount this home directory as /home/myoldhome in to new install whenever ...
-1
votes
1
answer
2k
views
How to remove an encrypted home directory
Recently, I had to do an OS reinstall. I keep my home folder encrypted in the event that my laptop were to be stolen, people wouldn't have access to my files.
Using ecryptfs-recover-private, I was ...
-2
votes
1
answer
56
views
Ecryptfs problem with Spanish characters
I'm using Ubuntu 22.04. I'm trying to decrypt a home directory that was encrypted on a previous install.
I'm using ecryptfs-recover-private and it's finding the .Private file I need.
However, when it ...