I do heavy computations. I have set up a remote access to my PC. The real problem is that my family members use this PC as well, and they tend to forget that they shouldn't shut it down. I've tried moving /sbin/shutdown, /sbin/reboot, adding policies to polkit, using systemd-inhibit - this doesn't seem to solve the problem.
Are there any dirty methods, like removing system files, which I can use to break the shutdown process? I could write a python script which removes those files and readds them when needed
OpenSuse, KDE
polkit
rules. Keep in mind the newpolkit
usesjs
syntax for the rules.