Nobody sat down and designed the current behavior.
Well, checking admin group membership long predates the advent of
polkit. admin group members are still _the_ fundamental definition of an
administrator in Ubuntu; sudo, polkit, etc. all define their privileges
based on that in their default
Okey, okey, I retreat. ;-) Thanks Thomas and Philipp for the additional
input.
@Martin: What's you thoughts on this? Should l-s be changed to query
policykit instead of checking unix groups?
** Changed in: language-selector (Ubuntu)
Status: Incomplete = Confirmed
--
You received this
PolicyKit's checks are mooted by line 145 of /usr/lib/python2.7/dist-
packages/LanguageSelector/gtk/GtkLanguageSelector.py, which reads
simply:
145 self.is_admin = (os.getuid() == 0 or in_grp_sudo or
in_grp_admin)
Later, on line 192:
192 if self.is_admin:
I don't understand what kind of change is needed to address the above
observations. The user who is created at a fresh 12.04 installation is
initially included in the sudo Unix group, which gives him or her
administrative privileges. If other users are made administrators via
System Settings -
Other users are made 'administrators' via a custom pkla file.
[Configuration]
AdminIdentities=unix-netgroup:REDACTED_NETGROUP_NAME
These users are not in the 'sudo' group, and are not UID 0.
antarus@goats4 $ groups
eng adm cdrom fuse ops guest ops-perm nonconf mrmagoo corp-kernel goobuntu
On 2012-12-13 02:17, Alec Warner wrote:
Other users are made 'administrators' via a custom pkla file.
How would language-selector know about the existence of such files?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
On 2012-12-13 02:17, Alec Warner wrote:
if you are suggesting that we manually add (via the UI) all the
administrators for the thousands of machines we run...I don't think that
is really a workable solution.
Maybe not. But I think it's reasonable to assume that those who grant
admin privileges
Gunnar, the point here is that the code is checking the wrong thing.
Nobody sat down and designed the current behavior. I believe that, in
fact policykit *is* the way Ubuntu handles these things.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
@Gunnar: As I said in the bug report, this is an installation which uses
user accounts and groups from an LDAP directory. There is an LDAP group
for all network-wide admins, and I am in this group. This group is
enabled for sudo and policykit admin rights in the appropriate config
files, and I
I'm seeing the same problem as Philipp. There's some issue with how
Language Selector uses PolicyKit. Adding additional admin identities to
local authority doesn't authorize them to set system-wide settings in
Language Selector. But adding users to the sudo group works.
Here are steps to
** Changed in: language-selector (Ubuntu)
Status: Confirmed = Triaged
** Changed in: language-selector (Ubuntu)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Ok, so I added the group I am in as an AdminIdentity in this file.
However, in the language selector, the relevant buttons are still grayed
out.
I am very confident that my change to
/etc/polkit-1/localauthority.conf.d/ is right, because it actually
changed something for the user account
language-selector does not identify admins via sudo; like most desktop
services, it uses policykit instead, which is configured via
/etc/polkit-1/localauthorityconf.d.
On an Ubuntu system, the desktop administrator groups are defined in
/etc/polkit-1/localauthority.conf.d/51-ubuntu-admin.conf.
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: language-selector (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1008344
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1008344
Title:
[Precise] Language selector won't allow me to install languages
To manage notifications about this bug go to:
15 matches
Mail list logo