5th March 2017, 14:45
For the info of anyone wishing to have an encrypted /home partition in Maui 17.03, but who finds that Calamares fails in the attempt... this is how i post-install resolved it.
Source: https://wiki.archlinux.org/index.php/ECr..._directory
1. The source says:
2. I tried multiple ways to achieve that, including rebooting & toggling to TTY without actually logging into Plasma first, but every time the following Source steps failed as there were still several processes owned by me. Eventually i deduced this way, & it worked:
a. Log in to normal desktop as me.
b. Create a second User, also Admin.
c. Reboot
d. At standard Login screen [now containing both Users], toggle to TTY, & therein, login as the new 2nd User.
e. Proceed with the following steps.
3. Run [& follow ALL the onscreen instructions]:
4. Voila.
5. Whereas Source says that User needs to perform additional steps to make this partition auto-mount, for me it has already become auto-mounting [& decrypting] on login, without any further action by me. Maybe that's a weakness of Arch?
Source: https://wiki.archlinux.org/index.php/ECr..._directory
1. The source says:
Quote:"Encrypting a home directory
The wrapper script ecryptfs-migrate-home will set up an encrypted home directory for a user and take care of migrating any existing files they have in their not yet encrypted home directory.
To run it, the user in question must be logged out and own no processes. The best way to achieve this is to log the user out, log into a console as the root user, and check that ps -U username returns no output.",
2. I tried multiple ways to achieve that, including rebooting & toggling to TTY without actually logging into Plasma first, but every time the following Source steps failed as there were still several processes owned by me. Eventually i deduced this way, & it worked:
a. Log in to normal desktop as me.
b. Create a second User, also Admin.
c. Reboot
d. At standard Login screen [now containing both Users], toggle to TTY, & therein, login as the new 2nd User.
e. Proceed with the following steps.
3. Run [& follow ALL the onscreen instructions]:
Code:
# modprobe ecryptfs
# ecryptfs-migrate-home -u username
4. Voila.
5. Whereas Source says that User needs to perform additional steps to make this partition auto-mount, for me it has already become auto-mounting [& decrypting] on login, without any further action by me. Maybe that's a weakness of Arch?