[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sudo mode and policykit



Quoting Josselin Mouette (joss@debian.org):
> Hi,
> 
> currently, depending on the “sudo mode” which is set during
> installation, d-i configures gksu to use sudo mode by default (with a
> GConf key).
> 
> However, an increasing number of packages use policykit instead of gksu
> to obtain root access, so we need some changes on this matter.
> 
> Actually there are two very simple solutions, so it is really a matter
> of what design you prefer. 
>      1. (Stolen from Ubuntu) Create a new “admin” group, modify
>         policykit to accept self-authentication for all members of the
>         admin group. Let d-i simply add the user to group admin if in
>         sudo mode. Bonus points for using the admin group in sudo too
>         instead of hardcoding the username. 
>      2. Let d-i create a file somewhere in /etc/polkit-1 that will add
>         the created user to the list of users authorized to
>         self-authenticate.


At first glance, both might need the chosen suggestion to be sent as a
bug report against "user-setup".


Attachment: signature.asc
Description: Digital signature


Reply to: