>>> 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 jou
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 o
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 f
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 d
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
--type=method
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
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 checke