Comment 28 for bug 952185

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote : Re: ~/.pam_environment not parsed when HOME is encrypted

On 2013-01-15 00:33, Dmitrijs Ledkovs wrote:
> How is ~/.pam_environment is created?

It's created and maintained by the SetLanguage and SetFormatsLocale methods in accountsservice.

> Because for example for ssh with encrypted home
> ~/.ssh/authorized_keys is put outside the encrypted $HOME, not inside
> it. E.g. one of the tutorials to achieve this is here:
> https://rohieb.wordpress.com/2010/10/09/84/
> Such that one doesn't need to decrypt home to read
> ~/.pam_environment.

To me, that approach seems to be somewhat complicated to implement. Do you really think it would be better than the suggested pam solution?