Yeah, this is because of the way the system-tools-backends and liboobs are designed: oobs_object_authenticate() is a synchronous call. I don't think this will be fixed since the gnome-system-tools are deprecated in favor of GNOME3's control center - unless you redesign the whole API *or* introduce a hack so that users-admin first authenticates via a direct call to PolicyKit (action org.freedesktop.systemtoolsbackends.set) from around src/user- settings.c:1050. But that would only work for that precise action and would be a ugly hack. Not sure it's worth it...
Easier would be to setup your test machine so that action org.freedesktop.systemtoolsbackends.set is allowed without authentication. ** Package changed: gnome-system-tools (Ubuntu Natty) => system-tools- backends (Ubuntu Natty) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to system-tools-backends in Ubuntu. https://bugs.launchpad.net/bugs/741186 Title: users-admin not testable with ldtp and policykit -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs