Change your passphrase to mount your encrypted private directory or home
- Ankur Desa
- Jun 21, 2016
- 1 min read
When you are using an encrypted home directory, you must change your Ecryptfs passphrase and log in password at the same time. This is accomplished either via the graphical interface or from the command line.
Graphical Interface
Change your password from the graphical interface under: System -> Preferences -> About Me

Click the "Change password ..." box :

Enter your current password, click "Authenticate", enter and confirm your new password.


Finally, click "Change password".
Command line
If you change your (login) password from the command line, you will notice the passphrase to mount your encrypted home directory is updated.
Code:
passwd your_user_name
If you change your password as root (or if root changes your password), the passphrase to mount your encrypted home will NOT be updated. This is good news in that it keeps root from accessing your data simply by changing your user's password and logging in as your user.
Code:
# This will fail sudo passwd your_user_name
Note: i have just summarize the this from the article found here
コメント