On Tue, 2017-11-21 at 14:15 +0100, Timothée Floure wrote:
> Hello,
> 
> I'm trying to set some environment variables via
> $HOME/.pam_environment
> on my F27 system. I understand that the feature is disabled by
> default
> on Fedora so I tried to add the following line to `/etc/pam.d/login`
> :
> 
> ```
> session       required   pam_env.so user_readenv=1
> ```
> 
> However, even with this line, ~/.pam_environment is still ignored. 

/etc/pam.d/login is for /bin/login (vty, telnet, and friends.)  sshd
will use /etc/pam.d/sshd and gdm should use /etc/pam.d/gdm.

I'd also suggest adding 'debug' to see if the module is being executed
at all.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to