Cannot login in account with encrypted home after update from 11.04 to 11.10
Posted
by
martin
on Ask Ubuntu
See other posts from Ask Ubuntu
or by martin
Published on 2011-06-29T19:24:53Z
Indexed on
2011/06/30
0:30 UTC
Read the original article
Hit count: 318
After upgrading from ubuntu 11.04 to 10.10 I cannot access my encrypted home partition anymore. I can login, however all data stays encrypted.
ecryptfs-mount-private
gives:
ERROR: Encrypted private directory is not setup properly
Any idea how to fix this?
Update
I have several kernels installed (after the upgrade my menu.lst looks like this: http://paste.org/pastebin/view/35591) the problem is the same for all kernels. Booting from 2.6.32-27-generic and
adduser --encrypt-home tes
gives:
Adding user `tes' ...
Adding new group `tes' (1008) ...
Adding new user `tes' (1007) with group `tes' ...
Creating home directory `/home/tes' ...
Setting up encryption ...
************************************************************************
YOU SHOULD RECORD YOUR MOUNT PASSPHRASE AND STORE IT IN A SAFE LOCATION.
ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase
THIS WILL BE REQUIRED IF YOU NEED TO RECOVER YOUR DATA AT A LATER TIME.
************************************************************************
Error: Your kernel does not support filename encryption
ERROR: Could not add passphrase to the current keyring
adduser: `/usr/bin/ecryptfs-setup-private -b -u tes' returned error code 1. Exiting.
© Ask Ubuntu or respective owner