Re: fedora 21 lets me install packages without root

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

 



On Mon, Oct 20, 2014 at 10:25 AM, drago01 <drago01@xxxxxxxxx> wrote:
> On Mon, Oct 20, 2014 at 7:00 PM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
>>
>> Am 20.10.2014 um 18:10 schrieb Stephen John Smoogen:
>>>
>>> On 20 October 2014 07:45, Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx
>>> <mailto:mattdm@xxxxxxxxxxxxxxxxx>> wrote:
>>>
>>>     On Mon, Oct 20, 2014 at 06:21:54AM -0700, James Patterson wrote:
>>>     > I'd like consistent behavior please.
>>>
>>>     When possible, that is ideal. But yum doesn't have a built-in
>>> privilege
>>>     escalation mechanism to do this.
>>>
>>>     > Typing yum install requires a password, so should be the behaviour
>>> for
>>>     > running a command that doesn't exist causing a package to be
>>> installed.
>>>
>>>     Only signed packages from system repositories can be installed.
>>>
>>>
>>> So if I mistype 'rm' as rn or rb will lrzsz or rn be installed so that
>>> it does the wrong thing next time? Or is this only some commands? And
>>> beyond removing someone from the wheel group what is the way to turn
>>> this off?
>>
>>
>> uninstall anything in context of packagekit and just use yum
>
> No you can configure polkit instead ... see man polkit.

The last couple times I tried to do anything like that, I ended up in
scary undocumented land.

There's polkit, the modern Javascript config (I think), the legacy
pkla compat thing, and the rules that the pkla compat thing reads.  I
think that man polkit is describing the latter.  And actually testing
a rule is a PITA.

This configuration may be powerful, but IMO it's far from user-friendly.

--Andy
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux