Hi All,
I have FreeBSD 8.1, Xorg 7.5, Awesome 3.4 and XDM 1.1.8 installed on my PC.
I need to have permissions to reboot and halt PC in XDM and Awesome. It isn't necessary to have it on both
I used polkit-action for it - with no luck.
[CMD=""]polkit-action --set-defaults-any org.freedesktop.hal.power-management.shutdown yes[/cmd]
[cmd=]polkit-action --set-defaults-any org.freedesktop.hal.power-management.reboot yes[/CMD]
I do not want to use sudo in rc.lua for this purpose or edditing permission of shutdown, halt or reboot.
Have you any suggestion or idea for this case?
Thank you a lot!
I have FreeBSD 8.1, Xorg 7.5, Awesome 3.4 and XDM 1.1.8 installed on my PC.
I need to have permissions to reboot and halt PC in XDM and Awesome. It isn't necessary to have it on both

[CMD=""]polkit-action --set-defaults-any org.freedesktop.hal.power-management.shutdown yes[/cmd]
[cmd=]polkit-action --set-defaults-any org.freedesktop.hal.power-management.reboot yes[/CMD]
I do not want to use sudo in rc.lua for this purpose or edditing permission of shutdown, halt or reboot.
Have you any suggestion or idea for this case?
Thank you a lot!