Unable to change password for encrypted account

Bug #1495348 reported by Adrian Cochrane on 2015-09-14
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Switchboard User Accounts Plug

Bug Description

My user account was set to be encrypted using the installer and I tried to change the password using the user accounts plug.

This appeared to work until I restarted when logging in with the new password caused Greeter to fade out and back in again and the password entry field shook when I entered my old password.

I've now used the rescue shell to reset my password to the old one so I need no advice in how to get out of this situation.

It would be nice if this was fixed so I can change my password on an encrypted account, but please at least refuse to change passwords for encrypted accounts.

description: updated
Daniel Fore (danrabbit) on 2015-10-18
Changed in switchboard-plug-useraccounts:
milestone: none → loki-beta1
Cody Garver (codygarver) on 2015-11-30
Changed in switchboard-plug-useraccounts:
importance: Undecided → Medium
Daniel Fore (danrabbit) on 2016-04-02
Changed in switchboard-plug-useraccounts:
status: New → Confirmed
Daniel Fore (danrabbit) on 2016-05-07
Changed in switchboard-plug-useraccounts:
milestone: loki-beta1 → loki-rc1
Daniel Fore (danrabbit) on 2016-06-15
Changed in switchboard-plug-useraccounts:
milestone: loki-rc1 → none
Mike Wild (mikewild) wrote :

I have seen this bug also. I'm running a dual-boot system (elementary on one drive, Windows 7 on a second drive), with a single root partition and swap partition.

The workaround I found was to run the *ecryptfs-rewrap-passphrase* command after mounting my encrypted home directory. I wrote a more in-depth report + answer here: https://elementaryos.stackexchange.com/questions/7947/login-redirects-back-to-login-screen.

Mike Wild (mikewild) wrote :

Has this been de-escalated because of the small number of affected users? IMO this is a pretty major bug as users without the correct technical know-how will be completely locked out of their systems without being able to recover their files.

Zisu Andrei (matzipan) wrote :

No, this has not been de-escalated.

A.V. Albrec (artphotodude) wrote :

The passphrase-rewrap fix failed with the following error:
"ERROR: Encrypted private directory is not setup properly"

Had to rm -fR /home and then recreate it with "adduser --encrypt-home" and then restore. This is a SYSTEM KILLER, if one doesn't know what to do.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers