Comment 5 for bug 1008344

Revision history for this message
Steve Atwell (satwell) wrote : Re: [Precise] Language selector won't allow me to install languages

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.