Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-10-2012, 01:20 PM   #1
LQ Newbie
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
Unhappy 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:


encrypted, home directory, login, passwd, password

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Login to remote machine with encrypted password smilemukul Linux - Newbie 6 03-16-2012 02:21 AM
Ubuntu 11.04 encrypted LVM password not working after user login password change prateekm21 Linux - Security 0 10-29-2011 01:20 PM
[SOLVED] How does one change login passphrase (to unlock encrypted home directory) tonyfreeman Linux - Security 4 11-22-2010 08:12 PM
Unable to login. Doesnt accept password. veerloh Linux - Newbie 20 05-08-2009 02:14 AM
How to accept a encrypted password in perl. jova626 Programming 4 04-28-2008 01:40 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration