| Summary: | MCC (drakconf) requires password even though user is in group wheel | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jani Välimaa <jani.valimaa> |
| Component: | RPM Packages | Assignee: | Mageia tools maintainers <mageiatools> |
| Status: | NEW --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Normal | CC: | marja11, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakconf-13.17-1.mga7.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Jani Välimaa
2019-03-05 17:02:17 CET
Marja Van Waes
2019-03-06 07:16:47 CET
CC:
(none) =>
marja11, thierry.vignaud Works for example with the following polkit rule.
# cat /etc/polkit-1/rules.d/50-mageia-wheel.rules
/* Allow members of the wheel group to execute the defined actions
* without password authentication, similar to "sudo NOPASSWD:"
*/
polkit.addRule(function(action, subject) {
if ((action.id == "org.mageia.drakconf.pkexec.run" ) &&
subject.isInGroup("wheel"))
{
return polkit.Result.YES;
}
});
|