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

Mantas Mikulėnas grawity at gmail.com
Tue Sep 24 09:10:10 PDT 2013


On Tue, Sep 24, 2013 at 4:27 PM, 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.

SHELL is set by /sbin/login, not by PAM.

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list