Password for reboot -

poma pomidorabelisima at gmail.com
Sun Jan 19 19:43:18 UTC 2014


Notice a mistake in the previous post. :)
I suggest tomorrow morning with a cup of hot black coffee.

LightDM/Xfce?

Save the file '50-org.freedesktop.login1.reboot-multiple-sessions.rules'
in the attachment to a dir '/etc/polkit-1/rules.d'.

Create a group 'reboot'
# groupadd reboot

Add your username to this group
# gpasswd -a <USER> reboot

Re-log-in.


poma


-------------- next part --------------
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.reboot-multiple-sessions" &&
        subject.isInGroup("reboot")) {
        return polkit.Result.YES;
    }
});


More information about the users mailing list