LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   Ubuntu 12.04 (64-bit) with encrypted home (EFS), don't accept the login password (http://www.linuxquestions.org/questions/linux-security-4/ubuntu-12-04-64-bit-with-encrypted-home-efs-dont-accept-the-login-password-4175415948/)

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: http://pastebin.com/LrsxvDGm
--




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

http://blog.dustinkirkland.com/2009/...home-from.html

https://bbs.archlinux.org/viewtopic.php?id=50649

https://bugs.launchpad.net/ubuntu/+s...ow/+bug/523896

http://goshawknest.wordpress.com/201...ory-in-ubuntu/

http://www.psychocats.net/ubuntu/resetpassword

https://help.ubuntu.com/community/Lo...#The_Other_Way

https://answers.launchpad.net/ubuntu...uestion/174969

http://manpages.ubuntu.com/manpages/.../passwd.1.html

http://www.unix.com/red-hat/145443-s...rd-policy.html
--


All times are GMT -5. The time now is 07:54 AM.