Password for suspend -

poma pomidorabelisima at gmail.com
Sun Jan 19 19:49:15 UTC 2014


Also do not recommend tanning in the desert at noon. :)

LightDM/Xfce?

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

Create a group 'suspend'
# groupadd suspend

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

Re-log-in.


poma


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


More information about the users mailing list