ctrl-alt-del

Linux for blind general discussion blinux-list at redhat.com
Thu Jan 18 12:42:13 UTC 2018


Hi, list!

On my Rpi, running FedBerry | (Fedora Remix for Raspberry Pi 2/3), I
want to use ctrl-alt-del to poweroff the device. It's too dangerous to
do `sudo poweroff', in case I'm in another system through SSH...

On my rpi, I did:

ln -s /usr/lib/systemd/system/poweroff.target /etc/systemd/system/ctrl-alt-del.target

`systemctl status ctrl-alt-del.target' outputs:

� poweroff.target - Power-Off
   Loaded: loaded (/usr/lib/systemd/system/poweroff.target; enabled;
   vendor pres
      Active: inactive (dead)
       Docs: man:systemd.special(7)

Even though, when I press ctrl-alt-del, the system reboots. If I, as
root, gives `poweroff', the system shut down works as expected. How can
this be solved?

Thanks and regards, Lars




More information about the Blinux-list mailing list