On Mon, 30 Jun 2014 08:01:08 -0600 Joe Pfeiffer <jos...@pfeifferfamily.net> wrote: | I ran in to a similar problem. In my case, the issue was that I have | an encrypted home directory, and needed files like ~/.procmailrc | to be available whether or not I was logged in. | | The ugly hack I eventually went to was to have three sets of home | directories: | | /home.enc/$USER contains encrypted home directories | | /home.unenc/$USER contains files that a user wants to have available | whether logged in or not. | | /home/$USER is the home directory; when the encrypted home directory | is mounted it appears as /home/$USER. When the encrypted home | directory is not mounted, however, /home/$USER contains a small number | of symbolic links to files in /home.unenc/$USER. When the encrypted | home directory is mounted over it, it also has symbolic links into | /home.unenc/$USER | | Like I said, an ugly hack. But it works...
Understandable situation, And interesting solution. Could probably me made generic enough that a PAM login system could do the mounting using the login password. Though PAM would not have that password for remote 'public key' ssh connections. Keeping the symbolic links to the unencrypted files correct in both the normal home, and the decrypted home overlay, could be tricky. Anthony Thyssen ( System Programmer ) <a.thys...@griffith.edu.au> -------------------------------------------------------------------------- Two hydrogen atoms walk into a bar. One says, "I've lost my electron". The other says, "Are you sure?" The first replies, "Yes, I'm positive..." -- A Physics Joke -------------------------------------------------------------------------- Anthony's Castle http://www.ict.griffith.edu.au/anthony/ ------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Encfs-users mailing list Encfs-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/encfs-users