Enable automatic data encryption for a new user

I created a second user and it did not ask me for encryption of personal files so I didn’t think about it and created my desktop with multiple activities. How can I set up encryption for that user now? Is there a tool for it? I could rename the home folder for that user, set it up and copy back the data when encryption is running. I know how to do the latter part from a root terminal, but how do I set up the encryption tool?

As far as I know there is no graphical way but there is a commandline option patched in the adduser binary of ubuntu.
Here you find everything necessary: https://help.ubuntu.com/community/EncryptedHome

Btw. I would rather use a Luks encryption on my whole partition or disk instead of using this encfs methood. Though this would be only possible with a reinstall and it’s cumbersome to add it now on an already installed one.


ecryptfs-migrate-home -u USER

did the trick for me

Luks is out of the question here because all users who boot the laptop have to know the password and once they do, everyything is open to them.