1 To be able to shutdown or reboot your system, you'll have to add .rules
2 files in %%LOCALBASE%%/etc/polkit-1/rules.d directory. Which looks
3 like this (replace PUTYOURGROUPHERE by your group):
5 polkit.addRule(function (action, subject) {
6 if ((action.id == "org.freedesktop.consolekit.system.restart" ||
7 action.id == "org.freedesktop.consolekit.system.stop")
8 && subject.isInGroup("PUTYOURGROUPHERE")) {
9 return polkit.Result.YES;
13 For those who have working suspend/resume:
15 polkit.addRule(function (action, subject) {
16 if (action.id == "org.freedesktop.consolekit.system.suspend"
17 && subject.isInGroup("PUTYOURGROUPHERE")) {
18 return polkit.Result.YES;