Hello
When I install a new mint, when creating the sudo account, I can choose to encrypt the /home.
But for a second user, how to encrypt the /home, i don't find a check boxe to do that.
Thanks
new user with encrypt /home
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
new user with encrypt /home
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: new user with encrypt /home
Depends on your version and edition of Linux Mint. Linux Mint 18.3 MATE and Xfce both have the option "Encrypt home folder to protect sensitive data" in their Users and Groups program when you add a new user. I don't know about KDE or earlier versions.
In Linux Mint 18.3 Cinnamon the option is not in Users and Groups. For that you should do the following, in this exact order:
In Linux Mint 18.3 Cinnamon the option is not in Users and Groups. For that you should do the following, in this exact order:
- Create a new user account in Users and Groups;
- Open a terminal and run the command
sudo ecryptfs-migrate-home -u newname
where you replace newname with the username of the new user; - After doing this you MUST logout or switch user and login to the new user (do NOT reboot or shut down before logging in to the new user!!!);
- If the new user can login without problems you can remove the backup of their home directory in /home;
- The new user should also run
ecryptfs-unwrap-passphrase
from a terminal to record their mount passphrase — which they'll need to recover access to their files if they ever forget their password or can no longer login to their account for other reason; store it somewhere safe!