参考 How to restrict non root users from using poweroff, reboot, suspend and hibernate in GUI? - Red Hat Customer Portalhttps://access.redhat.com/solutions/2020763