[systemd-devel] How to authenticate login using org.freedesktop.login1

2023-05-24 Thread Lal, Arun
Hi All, I was trying to authenticate a user from a deamon running in my machine. And I found systemd-login can be used. I went through documentation for interface org.freedesktop.login1, but I am not clear on how it can be used. Lets assume that there is a deamon called xyz running in my

Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-04-03 Thread Lal, Arun
Hi Lennart, Thanks for the reply  I will go through the man page. Thanks for providing the accurate link to sd_bus_add_object. Regards, Arun Lal K M -Original Message- From: Lennart Poettering Sent: Monday, April 3, 2023 2:36 PM To: Lal, Arun Cc: systemd-devel@lists.freedesktop.org

Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-03-31 Thread Lal, Arun
f systemd. Your comments here will be helpful. Regards, Arun Lal K M -Original Message- From: Lennart Poettering Sent: Friday, March 31, 2023 3:30 PM To: Lal, Arun Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEG

[systemd-devel] How to make vtable entry as SD_BUS_VTABLE_UNPRIVILEGED

2023-03-30 Thread Lal, Arun
Hi All, In file systemd\src\libsystemd\sd-bus\bus-objects.c function check_access has the following check: /* If the member is marked UNPRIVILEGED let's grant access */ if (c->vtable->flags & SD_BUS_VTABLE_UNPRIVILEGED) return 0; Can someone tell me how to set the flag

Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 8

2023-03-23 Thread Lal, Arun
nging code. Like through configuration files etc. Regards, Arun Lal K M -Original Message- From: Lennart Poettering Sent: Monday, March 13, 2023 5:18 PM To: Lal, Arun Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 8 On Sa, 11.0

Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 13

2023-03-20 Thread Lal, Arun
temd-devel-ow...@lists.freedesktop.org When replying, please edit your Subject line so it is more specific than "Re: Contents of systemd-devel digest..." Today's Topics: 1. Re: systemd-devel Digest, Vol 155, Issue 8 (Lal, Arun) 2. Re: coredumpctl: matching by e.g. env var? (Luc

Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 8

2023-03-15 Thread Lal, Arun
objective. It was something I thought could help, while going through code. And you have given me enough clarity on this  Regards, Arun Lal K M -Original Message- From: Lennart Poettering Sent: Monday, March 13, 2023 5:18 PM To: Lal, Arun Cc: systemd-devel@lists.freedesktop.org

Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 8

2023-03-15 Thread Lal, Arun
- From: Lennart Poettering Sent: Monday, March 13, 2023 5:18 PM To: Lal, Arun Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 8 On Sa, 11.03.23 08:29, Lal, Arun (arun@intel.com) wrote: > 1) Dbus uses .conf files in /etc/dbu

Re: [systemd-devel] systemd-devel Digest, Vol 155, Issue 8

2023-03-11 Thread Lal, Arun
op.org You can reach the person managing the list at systemd-devel-ow...@lists.freedesktop.org When replying, please edit your Subject line so it is more specific than "Re: Contents of systemd-devel digest..." Today's Topics: 1. How to make sd_bus_creds_has_effective_

[systemd-devel] How to make sd_bus_creds_has_effective_cap return success.

2023-03-09 Thread Lal, Arun
Hi All, I would like to receive some clarity on following commit in systemd (https://github.com/systemd/systemd/commit/def9a7aa0182e5ecca3ac61b26f75136a5c4f103) I was trying to run an application as non-root. Currently, I am facing an issue that I am not able to make a "busctl call" from a