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

Poista viesti

Vastaa
Lähettäjä: intrigeri
Päiväys:  
Vastaanottaja: The Tails public development discussion list
Aihe: Re: [Tails-dev] ***SPAM*** Re: ***SPAM*** group change on login
† wrote (15 Aug 2011 17:32:36 GMT) :
>> [Configuration]
>> AdminIdentities=unix-user:1000


> Also tried on my squeeze test machine but not sure how to test it.


setup a user who is not a sudoer.
verify it's not a sudoer.
add the policykit config I suggested, replacing 1000 with the
aforementionned user's UID.
login with this user.

run gnome-disk-utility (palimpsest).
try formatting a partition on the internal hard disk.
should ask you the user password as a confirmation,
and allow the operation to be performed,
which shows the user is an admin from policykit point-of-view.

bye,
--
intrigeri <intrigeri@???>
| GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
| OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc
| Do not be trapped by the need to achieve anything.
| This way, you achieve everything.