systemd: How to prevent root from rebooting in RHEL8

Latest response

I have found the solution to this problem for RedHat 7 useful a few times now. Is there a RHEL 8 update to this yet?

I've just added this to a RHEL8 system and either I've done something wrong or it's not working the same?

Responses