Prohibit/Disable shutdown

i have installed the current version of DietPi inclusive XFCE desktop on my PROXMOX - so far so good.
Now I have added some “users”. Is it possible to prohibit/disable the shutdown possibility? I just wann allow it for the “root”.
Only “sign out” should be possible for a standard user.

Thank you in advance.

A reboot or shutdown should require root/sudo permission by default.

1 Like