Re: /etc/environment not available for normal user while for root it is[was Re: sudo not respecting /etc/sudoers]
On Sun, May 3, 2015, at 11:56, Avinash Sonawane wrote:
> On Sun, May 3, 2015 at 8:24 PM, Avinash Sonawane <firstname.lastname@example.org>
> > On Sun, May 3, 2015 at 7:58 PM, Nicolas George <email@example.com> wrote:
> >> Le quartidi 14 floréal, an CCXXIII, Avinash Sonawane a écrit :
> >>> So will it work if I add `auth required pam_env.so`
> >>> to lightdm, lightdm-greeter and lightdm-autologin files?
> >> Try.
> > Awesome! It worked! I added `auth required
> > pam_env.so` in lightdm, lightdm-greeter and lightdm-autologin just
> > above the line `auth required pam_env.so
> > envfile=/etc/default/locale`
> By the way there are no security related adversaries to this right?
I assume you mean "security advisories". There are none related to this
at the moment, AFAIK.
Do note that /etc/default/locale and /etc/environment, as well as the
/etc and /etc/default directories must be restricted so that only root
can modify them. But that's nothing new, and Debian will have set it up
properly by default, so unless something else messed with them...
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique de Moraes Holschuh <firstname.lastname@example.org>