[systemd-devel] Antw: [EXT] Re: Authenticated Boot: dm-integrity modes

2021-11-30 Thread Ulrich Windl
>>> Wol schrieb am 28.11.2021 um 21:56 in Nachricht : > On 28/11/2021 19:56, Adrian Vovk wrote: >> - Journal mode: is slow. It atomically writes data+hash, so the >> situation I describe above can never happen. However, to pull this off >> it writes the data twice. Effectively every layer of

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Mohamed Ali Fodha
Thanks, but I think using setuid has a security risk for attackers, so I understand there is no so much granularity to manage unprivileged access to systemd in case the polkit is not used. Best Regards, Mohamed Ali Le mar. 30 nov. 2021 à 13:00, Colin Guthrie a écrit : > Mohamed Ali Fodha wrote

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Colin Guthrie
Mohamed Ali Fodha wrote on 30/11/2021 10:35: Thank you for the answers, I am working on an embedded system and the polkit is not installed (not enabled at all in yocto build). I have a systemd service that run as a normal user and for some use case it requires to do a reboot I simulate it just

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Mohamed Ali Fodha
Thank you for the answers, I am working on an embedded system and the polkit is not installed (not enabled at all in yocto build). I have a systemd service that run as a normal user and for some use case it requires to do a reboot I simulate it just for now as a dbus-send as shown below (just for

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Colin Guthrie
Mantas Mikulėnas wrote on 30/11/2021 08:42: On Tue, Nov 30, 2021 at 10:11 AM Mohamed Ali Fodha mailto:fodha.mohamed@gmail.com>> wrote: Hello, I want to run reboot as normal user using the following command: dbus-send --system --print-reply --reply-timeout=2000

Re: [systemd-devel] Run reboot as normal user

2021-11-30 Thread Mantas Mikulėnas
On Tue, Nov 30, 2021 at 10:11 AM Mohamed Ali Fodha < fodha.mohamed@gmail.com> wrote: > Hello, > > I want to run reboot as normal user using the following command: > dbus-send --system --print-reply --reply-timeout=2000 --type=method_call > --dest=org.freedesktop.login1 /org/freedesktop/login1

[systemd-devel] Run reboot as normal user

2021-11-30 Thread Mohamed Ali Fodha
Hello, I want to run reboot as normal user using the following command: dbus-send --system --print-reply --reply-timeout=2000 --type=method_call --dest=org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.Reboot boolean:false but I got a Permission denied error. I