Re: [Tails-dev] ***SPAM*** group change on login

Borrar esta mensaxe

Responder a esta mensaxe
Autor: intrigeri
Data:  
Para: The Tails public development discussion list
Temas novos: [Tails-dev] ***SPAM*** Re: ***SPAM*** group change on login
Asunto: Re: [Tails-dev] ***SPAM*** group change on login
Hi,

> The easiest workaround I can see would be to add a line in
> /etc/sudoers for the amnesia user,


It would work to grant sudo credentials to the amnesia user, but it's
not enough: it would not make PolicyKit consider this user to be an
admin (see /etc/polkit-1/localauthority.conf.d/51-debian-sudo.conf),
which is at least as useful as sudoer status nowadays.

The suggested workaround should be completed by having the
PostLogin/Default script create a file named
/etc/polkit-1/localauthority.conf.d/52-tails.conf, with following
content, iff. a admin password was provided:

[Configuration]
AdminIdentities=unix-user:1000

(Untested.)

Bye,
--
intrigeri <intrigeri@???>
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
| If you must label the absolute, use it's proper name: Temporary.