[LightDM] Environement variable : PATH
Yves-Alexis Perez
corsac at debian.org
Mon Jan 14 09:49:26 UTC 2019
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Fri, 2019-01-04 at 14:40 +0100, johann wrote:
> How does it work ? I thought every loggin mecanism had to use "login"
> which relied on /etc/login.defs ? Is it hardcoded somewhere in lightdm ?
If PATH is set on LightDM environment, it's propagated to the session login:
https://github.com/CanonicalLtd/lightdm/blob/master/src/seat.c#L383
On Debian we also patch it to make sure a PATH is set even if we don't have it
in the LightDM process environment, in which case we set it to the Debian
default (which includes /usr/games):
https://sources.debian.org/src/lightdm/1.18.3-1/debian/patches/01_set-default-path.patch/
Hope that helps.
Regards,
- --
Yves-Alexis
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlw8WyYACgkQ3rYcyPpX
RFu6GggAliZ81Amv8JhRe0rfvLYyk0lx1akXL2ssg3Zbwcupquytgsnl2yUQmI8A
EtdyeJWim6NkIeSbfHyogmk+SPJ+yjxaEqL0WUkZGxOVK+A4AQizavukpR5SJhnw
2TraiUP3x4ZXd214wgupdx5RmdOfjvCUzZjNDvUiF8aEja3iWVb4yjI6iX5m9KFF
HjOQAhgaBQlGVI3ZhNHaX26AmCxt0JCSQ6JiaXr6jUgSHs8jy2tr2QsM1J/q5QNW
kStfjnMRP2Ym2rYGTWumsy78XCxS7Db2rJenTdqB+ouYhgedIr9roWcNu+iPDX+j
WQ95913bxzI3WRBazOZwR4xhkrZXYg==
=ilr2
-----END PGP SIGNATURE-----
More information about the LightDM
mailing list