Ubuntu - How to leave an encrypted home directory mounted after log out?

2

Maybe I should be doing this differently, so let me know.

I have a service which needs access to an encrypted home directory. The service runs as the user whose home directory is encrypted. As long as the user is logged it, the service can read from the directory, but as soon as I log out it can't read anymore.

robamaton

Posted 2013-02-06T15:22:54.027

Reputation: 121

Answers

1

but as soon as I log out it can't read anymore

This makes sense to me for a secured service. But from your title, it seems that you don't like it. Then why not mount the user's encrypted home directory on boot up, in /etc/fstab?

xpt

Posted 2013-02-06T15:22:54.027

Reputation: 5 548