So you’ve brought something up that has certainly been ticking over in the back
of my mind for a long time. I’m roughly 90% certain that the user DB interface
is
indeed the right extension point for hooking authentication systems into the
system
(And would be a better one than having to write a
Plenty of discussions going, but...really...simplest way to determine if your
running directly from a systemd service is just check what cgroup you're
running under.
Just check /proc/self/cgroup
From: systemd-devel on behalf of
Chris Kottaridis
Sent: Monday, J
I don't know if it is appropriate or not, but I used the sd-bus library.
I just ask systemd if my service is running. If it is running I then
get the service's MainPID. If the mainPID matches my process pid then
I started from the systemd. If not then I didn't.
I only use it for debugging. If I s
Hi,
currently, the userdb system only allows querying for User Records and
Group Records, hence providing a modern replacement for NSS.
I would like to propose an addition to make it support authentication as
well. The additions to the io.systemd.UserDatabase Varlink interface
are:
```varlink
#