New authorization required for mundane activities

silver.bullet at silver.bullet at
Mon Sep 28 02:22:57 UTC 2015

You at least should provide some information, such as

# lsb_release -dr
# tail --lines=30 /var/log/apt/history.log

On Sun, 27 Sep 2015 18:02:29 -0700, MR ZenWiz wrote:
>This appears to come from org.freedesktop.udisks2.filesystem-mount,
>except that that is (obviously) not a valid URL, nor is it just

This belongs to a polkit rule.

[root at moonstudio ~]# dpkg -L udisks2 | grep polkit

[root at moonstudio ~]# grep "org.freedesktop.udisks2.filesystem-mount-system" -A70 /usr/share/polkit-1/actions/org.freedesktop.udisks2.policy | grep -v description | grep -v message
  <action id="org.freedesktop.udisks2.filesystem-mount-system">

"Each of the allow_any, allow_inactive and allow_active elements can
contain the following values:


Not authorized.




Authentication by the owner of the session that the client originates
from is required. Note that this is not restrictive enough for most uses o
 multi-user systems; auth_admin* is generally recommended.


Authentication by an administrative user is required.


Like auth_self but the authorization is kept for a brief period (e.g. five
minutes). The warning about auth_self above applies likewise.


Like auth_admin but the authorization is kept for a brief period
(e.g. five minutes)."

Other distros seem to use another location and another language.

For Arch Linux I e.g. want that the password is required for shutdowns:

[root at archlinux rocketmouse]# cat /etc/polkit-1/rules.d/10-admin-shutdown-reboot.rules 
polkit.addRule(function(action, subject) {
    if ( == "org.freedesktop.login1.power-off" || == "org.freedesktop.login1.power-off-ignore-inhibit" || == "org.freedesktop.login1.power-off-multiple-sessions" || == "org.freedesktop.login1.reboot" || == "org.freedesktop.login1.reboot-ignore-inhibit" || == "org.freedesktop.login1.reboot-multiple-sessions"
    ) {
        return polkit.Result.AUTH_SELF_KEEP;

More information about the ubuntu-users mailing list