I messed up with my files... Again... Now I am concerned if I will be able to login again once I logout. Is there a way to test if the essentials files are all there?
- My home was encrypted during the installation (Ubuntu 12.04).
- By login I mean boot Ubuntu into
lightdm, type my password and be able to use my files which are encrypted and should be decrypted after the login.
- By messed up I mean I have moved all my ".xml" files under user directory. I do not care that much for the configuration of the applications, neither for my keyboard shortcuts as I have a backup for them.
- I can run
ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphraseand it shows me the passphrase.
auto-mount auto-umount Private.mnt Private.sig wrapped-passphrase.
One Ecryptfs manual says:
$ man ecryptfs-setup-private FILES ~/.ecryptfs/auto-mount ~/.Private - underlying directory containing encrypted data ~/Private - mountpoint containing decrypted data (when mounted) ~/.ecryptfs/Private.sig - file containing signature of mountpoint passphrase ~/.ecryptfs/Private.mnt - file containing path of the private directory mountpoint ~/.ecryptfs/wrapped-passphrase - file containing the mount passphrase, wrapped with the login passphrase ~/.ecryptfs/wrapping-independent - this file exists if the wrapping passphrase is independent from login passphrase
May be those all are the required files?
I rebooted the computer and although I have lost the configuration of applications and Keyboard Shortcuts I was able to login again. So I can say that no xml file is needed to login into an Ubuntu encrypted home.
But the question remains valid: is there a way to test if one will be able to login in the next boot?