• grue@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      2 days ago

      Magic, I guess, 'cause nothing in the sceenshot would do it, unless the attacker had already replaced cat with a trojan or something.

    • hperrin@lemmy.ca
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      AFAIK, there’s no way to without modifying the system tools and shell.

      • Unleaded8163@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        You could probably install a handler for the event that’s triggered when the power button is pressed. Most OSes do that and pop up a graceful shutdown options window. Most hardware will have a hard shutdown option when you hold the power button for a few seconds. You would probably have to overwrite the BIOS or something at that level to prevent that way out.