• ReversalHatchery@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 days ago

    requirement of the root password? why would it need that, when it normally doesn’t? to clarify, I didn’t mean the “sudo reboot” command, but the reboot button in the KDE application launcher

    • muhyb@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      22 days ago

      systemd always requires root password for poweroff and reboot commands and polkit does that for you normally when using GUI. However that problem occurs when polkit timeout runs out. I don’t know the exact mechanism behind it so I cannot tell exactly when it happens. When it doesn’t do that, those commands don’t run via a GUI. So this is on part systemd and part the distro.