[systemd-devel] [PATCH] Add SHELL environment variable

Lennart Poettering lennart at poettering.net
Tue Sep 24 16:43:44 PDT 2013


On Tue, 24.09.13 09:27, Colin Walters (walters at verbum.org) wrote:

> 
> On Mon, 2013-09-23 at 21:01 -0500, Evan Callicoat wrote:
> 
> > Ideally in the long-term, applications which rely on SHELL being set
> > should be fixed to just grab it from getpwnam() or similar,
> > but until that becomes more common, I propose this simple change to
> > make user sessions a little bit nicer out of the box.
> 
> Right; this is exactly the kind of thing that would be fixed by having
> logind run the PAM stack and pass the environment/state to systemd-user.

Hmm? user at .service actually runs through the PAM stack and passes the
env vars this set on to the spawned program. (logind is not involved though).

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list