[Bug 1134220] Re: passwd does not change disk encryption password resulting in an unsuable system
Tyler Hicks
tyhicks at canonical.com
Wed Feb 27 17:21:30 UTC 2013
passwd does change the eCryptfs mount passphrase when passwd is ran by
normal users. The old password is required to do this operation and
passwd can successfully rewrap the mount passphrase with the new
password.
When an administrator changes another user's password by running passwd
as root (such as what happens with sudo passwd), the mount passphrase is
*not* rewrapped. It is not possible to do the rewrapping here because
passwd doesn't prompt for the old password since it is very likely that
the administrator doesn't know the user's password.
Run passwd as your own user and you should be fine.
** Changed in: shadow (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shadow in Ubuntu.
https://bugs.launchpad.net/bugs/1134220
Title:
passwd does not change disk encryption password resulting in an
unsuable system
Status in “shadow” package in Ubuntu:
Invalid
Bug description:
Change the user's password via /usr/bin/passwd
Reboot. Try to login. The login will be aborted with an error of lnusertemp thinks /tmp is full.
To fix it you have to login to the command line and run ecryptfs-mount-private followed by ecryptfs-rewrap-passphrase ~/.ecryptfs/wrapped-passphrase and use the password used with passwd.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1134220/+subscriptions
More information about the foundations-bugs
mailing list