On Wed, 26 Jun 2019 at 17:13, Neil Bothwick <[email protected]> wrote:
> > Could it be loginctl is there to confirm if a local button operation
> > can run / sbin/poweroff, rather than actually running the command as
> > shown in the sddm config file?
>
> No, not when I tried it
>
> % loginctl poweroff
> Unknown operation poweroff.
>
> This is confirmed by the list of commands in the loginctl man page.

On the other hand, poweroff and reboot are valid arguments to
/bin/loginctl, installed by elogind

Regards,
Arve

Reply via email to