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

learn more… | top users | synonyms

0
votes
1answer
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 ...
-6
votes
0answers
65 views

Removal of ecryptfs [duplicate]

Install of Linux Mint recommends drive encryption and uses ecryptfs. Unfortunately, they don't want you of the trouble you are getting into. eCryptfs seems near impossible to remove cleanly. There are ...
3
votes
0answers
431 views

Samba, PAM and encrypted home directory

So, I have an encrypted home, PAM usually unwraps the passphrase via /etc/pam.d/common-auth and /etc/pam.d/common-session-noninteractive. This works fine for SSHD sessions, however when I open up a ...
2
votes
1answer
539 views

Can't login without mounting encrypted $Home from TTY

When I try logging in, using the correct password, the screen goes black, it flashes the NVIDIA logo and then takes me back to the login screen. After trying to restart lightdm, researching ...
0
votes
1answer
84 views

My /home partition became full after moving files from encrypted user folder to unencrypted user folder. What can I do?

I'm currently working on removing my home directory encryption by following the instructions given by ecryptfs-setup-private --undo. I have exited the graphical session and logged in on a tty in ...
3
votes
3answers
5k views

Change the passphrase of an ecryptfs directory

I want to have an encrypted directory (not homedir!) let's say /testdata. I have used the following command and parameters to encrypt it: root@pc:~# mount -t ecryptfs /testdata/ /testdata/ ...
3
votes
1answer
663 views

Will I able to access ecryptfs -ed folders in another installed Ubuntu?

I have a HDD with Linux Ubuntu partition but with no Linux only Win7. I found a solution how to access and save my ext2 Linux files in Windows. I downloaded DiskInternals Linux reader. It accesses my ...
0
votes
1answer
439 views

How to recover files deleted in encrypted home before a failed upgrade?

I'm going to give you real breakdown of events to clarify what has happened. I’ve just rebuilt a rig I haven’t used for almost a year, it's running Windows 7 and Ubuntu 10.04. I couldn’t remember the ...
0
votes
1answer
2k views

how to change password of an enrypted ubuntu user account?

I changed my ubuntu user password using: $ sudo passwd now when I reboot and login using the new password, following warning is displayed: Signature not found in user keyring perhaps try the ...
3
votes
1answer
286 views

How to change the timeout of directories mounted with ecryptfs-mount-private

When I mount my encrypted .Private data, I can access (rw) my data fine. After a while the mount seems to be unmounted automatically. Is there a default timeout? If so, how can I change it? The ...
1
vote
0answers
278 views

How to make a fresh install while also creating new partitions and keeping encrypted home directory

How can a machine be securely migrated from "Ubuntu - single partition - home directory encrypted" to "Debian - separated partitions for OS and home, and maybe for swap too if that is an advantage - ...
5
votes
1answer
375 views

ecrytfs - purpose of Private.sig and Private.mnt?

I just switched to ecryptfs and like it in conjunction with incremental backups. But, what I have not understood is what are Private.sig and Private.mnt files used fore. Why should they be kept ...
2
votes
2answers
221 views

How to retrive encryption passpharase?

When installing Ubuntu I chose to encrypt my home drive and after installation update information window came up: Where I had to write down encryption passphrase. Well I closed it and it doesn't ...
5
votes
1answer
243 views

Why can I not deselect “encrypt my home folder”?

I tried to install Ubuntu 13.04, but didn't want to encrypt my home folder. The installer doesn't let me uncheck the option. Why?
1
vote
1answer
179 views

Can't decrypt files - passphrase doesn't work

I have the exact same problem as this gentleman had here: Encrypted Home... Forgotten Password, but no Passphrase , i had an old user with with encrypted /home folder and changed the password from ...
1
vote
1answer
235 views

How does my encrypted /home work, and how can I get it to work via cl on another linux distro?

I'm using an encrypted /home, but I have no idea how it works. I'm trying to install Arch Linux and use commandline tools like ecryptfs, but I can't figure out how to mount my ubuntu encrypted /home. ...
3
votes
0answers
364 views

Can't access encrypted home from other Ubuntu releases from 13.04

Today I installed Raring Ringtail (again), 13.04 (production release), clean in a fresh partition on an AMD X2 64-bit system. I have a parallel installation of 12.10 and another one of 12.04 on other ...
3
votes
2answers
7k views

can't log in after password change (ecryptfs)

I am on Ubuntu 12.10 with one user using encrypted home. A while back I have changed by user password and then forgot it. I then made a backup of my files using Dustin's help to an external drive. I ...
0
votes
1answer
391 views

how do I remove the .ecryptfs folder that was created after deja-dup backup?

I have a very large .ecryptfs folder in my /home directory that is the size of my /username directory. I believe it was created after I ran a backup using gksu deja-dup-preferences. Previous ...
5
votes
1answer
1k views

Mount on filesystem of type eCryptfs explicitly disallowed due to known incompatibilities

I get this error when I'm trying to do sudo mount -t ecryptfs folder1 folder2 in my home folder (encrypted by ubuntu) I tried the same command but folders at /tmp, it worked as expected. The error ...
2
votes
1answer
1k views

Is ecryptfs-setup-swap persistent?

I have what I think is a quick question: Is running ecryptfs-setup-swap on a system that didn't have home-directory or swap encryption enabled when it was installed persistent? The man page at ...
3
votes
1answer
164 views

ecryptfs - About 200 Passwords to Parse Through

I know all but two characters of my password. I know, I'm an idiot for not writing down my pass immediately after my main board went south on me, but that's water under the bridge. Anyway, I figure ...
5
votes
2answers
854 views

Move ecryptfs .Private directory to another partition

I don't like to keep my data in the same partition as my Home directory; so I configure my machine with a small home partition which contains a symlink to my large data partition. For this reason, ...
1
vote
3answers
1k views

Dual Ubuntu Installations with Whole Disk Encryption

My goal is I want to have a Xubuntu/Ubuntu dual boot, with a catch - I want the disk to be fully encrypted with the dm-crypt (native supplied) whole disk encryption. Now I know, out of the box the ...
2
votes
1answer
116 views

What is the command to retrieve the pass phrase of an encrypted home directory?

I remember setting a password to encrypt my directory when I installed Ubuntu, and running a command to retrieve a pass phrase in case I lost the password. Can anyone tell me what is the terminal ...
4
votes
1answer
175 views

Home directory encryption

I've just encrypted my home directory after installing ubuntu (i.e. my home directory was initially not encrypted then I used the ecryptfs-utils to encrypt it). I am curious to know whether only the ...
10
votes
1answer
4k views

Recover encrypted data after reinstall

I couldn't remember the password that I've used for so many weeks, and changed it in recovery mode but for many reasons I decided to reinstall Ubuntu 12.10 with my seperate /home folder intact and ...
0
votes
1answer
403 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 ...
3
votes
1answer
934 views

How to prevent ecryptfs from umounting home if tmux is still running?

I have a server, which i access over ssh. Sometimes i like to run some scripts (some of them in the background) in tmux and then detach it, close the connection and access tmux later. But ...
14
votes
4answers
15k views

How do I mount an encrypted /home directory on another Ubuntu machine?

I've done something a bit, well, strange. I installed Ubuntu 12.04 directly onto a USB thumb stick, encrypting the /home directory as given the option during the install. The filesystem is btrfs, I ...
15
votes
2answers
621 views

How do I require Two Factor Authentication to log in?

Running 12.04. I am trying to separate my wrapped-passphrase for my encrypted home folder to require a USB drive be present to login. I followed the instructions here and added the drive to my ...
2
votes
1answer
605 views

does eCryptfs support multiple users?

I'm new to ecryptfs and I need some clarification on how it works. Suppose there are two root users userA and userB, If I mount some folder under userA: [userA@Dev] $ mount ecryptfs real img now I can ...
0
votes
1answer
1k views

/dev/sda2 contains a filesystem with error after partitioning (updated)

I just wanted to create a separate home partition on my Ubuntu 12.10 system. I booted the liveDVD, resized the sda2 partition (28gb of data resized to 30gb based on MiB [originally on a 100gb ...
1
vote
2answers
1k views

eCryptfs problems after inapproriate shut down - unable to access my /home folder?

Here is what happened to me a few days ago. I was watching a movie in bed and when I turned I accidently pulled the electric plug from my PC and it turned off inappropriately. When I turned it back ...
1
vote
1answer
2k views

How to lock and encrypt folder and files

I installed cryptkeeper in my laptop and when I click on the icon, it is not opening up or responding. I'm using Ubuntu 12.10 64-bit version. Please help me on how to use this software or tell me how ...
1
vote
2answers
2k views

ecryptfs-recover-private creating unreadable encrypted folders

After months of proper functioning has ecryptfs has become corrupted and rendered /home/ inaccessible. when running (both via guest account and from live-CD): root@ubuntu:/media/backup/home/me# ...
1
vote
0answers
60 views

Security aspects of home dir encryption [duplicate]

Possible Duplicate: Is there a security risk if a password can be reset easily? Changing the login password will automatically make an encrypted home directory re-accessible, as PAM takes ...
1
vote
0answers
53 views

.bashrc not run when SSH-ing in as a user who has home dir encryption [duplicate]

If I SSH into an Ubuntu 12.04.1 LTS server as a user with home dir encryption, I get a really plain shell (no default .bashrc run). If I log in via console (of course causing the home directory to be ...
2
votes
2answers
3k views

Encrypted home with Ecryptfs - How to store the key file if i missed it on first boot?

I installed Ubuntu 12.04 with encrypted Home-directory. When I first booted I was given the option to store a key file to some Flash-drive (USB) or anything and there was a hint how to do it later. I ...
1
vote
1answer
375 views

Does eCryptfs use more disk space?

I have encrypted my /home folder using ecryptfs. I've noticed that it uses as 1.5 times the disk space compared to when it was not encrypted. Is this problem caused by the eCryptfs and is there a way ...
5
votes
2answers
3k views

Error when running binary with root setuid under encrypted home directory

I'm using a VPN script for Juniper's Secure Access protocol form here, which executes a binary located under ~/.juniper_networks/network_connect/ncsvc with the following permissions: -rws--s--x 1 ...
5
votes
1answer
480 views

Is it possible to use the 'screen' command to work with files on an encrypted home directory?

So I have an encrypted home directory, set up during install on a server running Ubuntu 12.04 LTS. I attempted to use screen in order to run a script that accesses the data in my home directory after ...
5
votes
2answers
877 views

How can I confirm that I'm using ecryptfs?

Is there a simple way to tell if I'm using ecryptfs on my home directory? I tried running the ecryptfs-migrate-home script a while ago, and it failed part way through. I assumed that it went back to ...
7
votes
1answer
352 views

How to auto-mount a copied encrypted home

How can I auto-mount and use my encrypted home that I copied to another partition on the same hard disk? I'm running Ubuntu 11.10. My encrypted home is on sda1. There I've 2 users: userA and userB. ...
2
votes
1answer
736 views

Reinstalling 12.04 and preserving encrypted /home. Possible?

My /home directory is about 200 GB and encrypted. I need to reinstall Ubuntu 12.04 (fresh install) to fix some problems and and concerned that I might lose access or have to format /home during the ...
0
votes
2answers
445 views

transparent home directory encryption

#1 I'm very new to the ubuntu home directory encryption or rather ecryptfs folder encryption. I read about the same within Dustin's blog & tried implementing it. Problem or query is my home ...
2
votes
1answer
287 views

Merge LUKS-partition with partition on another HDD

I just bought a 2 TB hard disk because the home partition on the old one is almost full. What I want to do is to extend the home partition on hard disk 1 (sda2) to also include all the space on the ...
0
votes
2answers
502 views

Ubuntu 12.04 flush-encryptfs resource hog

I've been using Ubuntu 11.10 for a while, but recently upgraded to a fresh install of 12.04 LTS. I am noticing a program called flush-encryptfs- using a significant portion (30 to 80%) cpu resources. ...
2
votes
1answer
1k views

Moving an encrypted home folder to a new drive

Is there something I should be taking in to account when moving an encrypted home directory to a new drive? Is it just enough to rsync the contents away, edit fstab etc?
4
votes
4answers
755 views

How to safely back up the “Private” folder?

I have an ecryptfs "Private" folder in my home directory, and it is set up to automatically mount whenever I log in. I want to set up automatic backups to a network drive, but I don't want the ...