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 reproduce:

1.  Start with an account (myuser) with no admin privs.  (I.e., not in group 
sudo.)  Verify no privs in language selector.  Verify that running "pkexec id" 
prompts for the root password, not the user password.
2.  Create a new group containing the user:
        - addgroup --system mygroup
        - adduser myuser mygroup
3.  Configure the new group as an admin identity by creating 
/etc/polkit-1/localauthority.conf.d/60-mygroup.conf with:
        [Configuration]
        AdminIdentities=unix-group:mygroup
4.  Verify that "pkexec id" now prompts for the user password rather than root 
password.  This means local authority is now properly configured.
5.  Log out and back in again as myuser.  Note that the user still doesn't have 
authorization for language selector.
6.  Add the user to group sudo.  (adduser myuser sudo).
7.  Log out and back in again as myuser.  Note that the user now has 
authorization for lanuage selector.

** Changed in: language-selector (Ubuntu)
       Status: Invalid => Confirmed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1008344

Title:
  [Precise] Language selector won't allow me to install languages

Status in “language-selector” package in Ubuntu:
  Confirmed

Bug description:
  In a new install of Ubuntu Precise, I cannot make any system-wide
  changes in the language selector (such as installing languages or
  clicking "Apply System-Wide"), only user-specific changes. All those
  controls for system-wide changes are greyed out, although my user does
  have sudo abilities and I would be able to enter the root password of
  the machine.

  The machine is freshly installed, but with customizations specific to
  our site, e.g. ldap authentication for users. Specifically, my user is
  an ldap user, not a local one, and there is a group in the ldap
  directory which was granted sudo capability by adding it to
  /etc/sudoers. My user is part of that group. sudo on the command line
  and gksudo work fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: language-selector-gnome 0.79
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Uname: Linux 3.2.0-24-generic x86_64
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Mon Jun  4 08:20:04 2012
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:
   TERM=screen-256color
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: language-selector
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1008344/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to