| 1 |
To be able to shutdown or reboot your system, you'll have to add a .pkla file |
| 2 |
in %%LOCALBASE%%/etc/polkit-1/localauthority/50-local.d directory. Which looks |
| 3 |
like this (replace PUTYOURGROUPHERE by your group): |
| 4 |
|
| 5 |
[Restart] |
| 6 |
Identity=unix-group:PUTYOURGROUPHERE |
| 7 |
Action=org.freedesktop.consolekit.system.restart |
| 8 |
ResultAny=yes |
| 9 |
ResultInactive=yes |
| 10 |
ResultActive=yes |
| 11 |
|
| 12 |
[Shutdown] |
| 13 |
Identity=unix-group:PUTYOURGROUPHERE |
| 14 |
Action=org.freedesktop.consolekit.system.stop |
| 15 |
ResultAny=yes |
| 16 |
ResultInactive=yes |
| 17 |
ResultActive=yes |
| 18 |
|
| 19 |
For those who have working suspend/resume: |
| 20 |
|
| 21 |
[Suspend] |
| 22 |
Identity=unix-group:PUTYOURGROUPHERE |
| 23 |
Action=org.freedesktop.upower.suspend |
| 24 |
ResultAny=yes |
| 25 |
ResultInactive=yes |
| 26 |
ResultActive=yes |