Dear Robert.
Ran zypper up earlier this week on my daughters machine (13.1 x86_64) and now when she connects here phone a dialog appears requesting the root password.
I have experienced similar issues on an upgrade to 12.3 and to 13.1. It is related to policykit in some form. On one of my boxes, I am also promoted for a root passwort on shutdown/suspend.
I have not yet figured out if there is some magic in the way policykit has been implemented in openSUSE and am also not really sure which settings are made from within the YaST Security Center, but on a regular policykit setup one could create a rule like:
polkit.addRule(function(action, subject) {
if (subject.user == "INSERT_THE_USERNAME_HERE" &&
action.id.indexOf("org.freedesktop.udisks2.") == 0) {
return polkit.Result.YES;
}
});
to e.g. /etc/polkit-1/rules.d/enable-mount.rules
You can also leave the user subject and make the action.id a bit more
specific:
polkit.addRule(function(action) {
if (action.id == "org.freedesktop.udisks2.filesystem-mount-system") {
return polkit.Result.YES;
}
});
When udisk is used instead of udisks2 it might look like
org.freedesktop.udisks.filesystem-mount-system.
System defaults can be listed with:pkaction --action-id org.freedesktop.udisks2.filesystem-mount-system --verbose
A check can be performed by executing:pkcheck --action-id org.freedesktop.udisks2.filesystem-mount --process $$ --allow-user-interaction
as the relevant user. When access is allowed nothing should be returned, otherwise you should be prompted for authorization.
Hope that helps a bit. Greets Marcus
smime.p7s
Description: S/MIME Cryptographic Signature
