[systemd-devel] [PATCH] Create a new logind session from a systemd --user unit
lennart at poettering.net
Mon Jul 29 16:06:59 PDT 2013
On Mon, 29.07.13 18:19, Abdó Roig-Maranges (abdo.roig at gmail.com) wrote:
> I think initgroups in core/execute.c always needs privileges. It is always
> called when User=blah is set on a service file and always fails on systemd user
> instances for unprivileged users. This prevents from using PAM within a systemd
> user instance, for example.
Not following here. initgroups() is called before dropping prvis, so it
should always work. Can you elaborate?
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel