I have a miniature PC here with a large and prominent power button on the front which is easy to bump accidentally.
The system is running CentOS 7 with systemd.
I already know that I can set
/etc/systems/login.conf but this disables it entirely.
What is the procedure for addressing this on CentOS?