Description of problem:
When I tried to start guile and it was not installed, shell prompted if I wanted to install the package. I said "yes", and guile was downloaded and installed. However, when trying to install guile with dnf normally, it does require password. User in both cases is of type administrator with sudo abilities. Seems like security and inconsistency problem.
Version-Release number of selected component (if applicable):
dnf-0:1.0.0-1.fc22.noarch
How reproducible:
Always
Steps to Reproduce:
1. Be administrator with sudo abilities
2. try to run program that is not installed
3. answer yes to prompt asking if you want to install package foo providing command bar
Actual results:
foo gets installed without requesting password
Expected results:
ask password of sudoing user
Additional info:
It's PackageKit-command-not-found which installs the missing program. And I also believe that this is a feature, not a bug. But I'll leave the decision to its maintainers since I am not completely sure what's happening there.
I test this, and happens when the user is part of the group wheel. Maybe is a design decision. When you tried with a user that is not in the wheel group it show a password input dialog.