fedora 21 lets me install packages without root

Andrew Lutomirski luto at mit.edu
Mon Oct 20 17:33:31 UTC 2014

On Mon, Oct 20, 2014 at 10:25 AM, drago01 <drago01 at gmail.com> wrote:
> On Mon, Oct 20, 2014 at 7:00 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
>> Am 20.10.2014 um 18:10 schrieb Stephen John Smoogen:
>>> On 20 October 2014 07:45, Matthew Miller <mattdm at fedoraproject.org
>>> <mailto:mattdm at fedoraproject.org>> 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.


More information about the devel mailing list