-   Linux - Security (
-   -   Ubuntu 12.04 (64-bit) with encrypted home (EFS), don't accept the login password (

nodnolse1 07-10-2012 01:20 PM

Ubuntu 12.04 (64-bit) with encrypted home (EFS), don't accept the login password
Unfortunately I haven't saved the EFS passphrase generates automatically by Ubuntu+EFS. I just copied it on desktop but I never saved outside the home directory. Since few days, Ubuntu don't accept the right password at user login level. I also tried 'passwd' as single user mode or by Ubuntu 64-bit live CD and 'chroot', once typed 'passwd username' and pressed the enter button, it give me no error, don't ask for 'new unix password' typing 'passwd username', it does exactly like when you press enter on a prompt w/o any command or character, just return nothing. The only way to get answer is 'passwd -S username' and 'passwd -d username', in this case, it complain about locking shadow. In passwd and shadow files, my username it's present. So, seen that I will not able to decrypt/mount my home directory to at least save my important files, the only way that I have, is to get access in some manner by the login. I also created new users, one with home directory and one without, even use 'su newusername', I can't login because 'passwd' refuses to create any password. I also used 'dpkg-
reconfigure locale' that seems to be the main reason about this problem, but no way. At the end I 'dpkg-reconfigure passwd' and few others security related 'services'. The only account that is working is the 'guest', that allows to navigate over the net. So, what can I do now? I very need to get back my home files. I also changed keyboard and used the on screen keyboard, but is not a keyboard problem or 'case' letters. Below I pasted few links at documentation that I tested but unsuccessfully. Thank for reading and maybe helping,, I hope Paolo

Ps: attached there is the output of passwd and shadow files with many other useful informations taken coping the input /output of given commands. Passwd and shadow files output are untouched, to give you the maximum staff available to diagnose it. In case it is needed, I also saved all '/var/log/*', just ask. Mine user account name is 'a'. No problem about privacy, next Ubuntu installation I'll use a different password.

Few error messages:

"passwd: cannot lock /etc/shadow; try again later"

''ecryptfs-mount-private ERROR: Encrypted private directory is not setup properly''

Many others errors into the this pastebin:

List of pages where I get commands and procedures all applied w/o success:

All times are GMT -5. The time now is 02:58 PM.