|
Bugzilla – Full Text Bug Listing |
| Summary: | Switch from xdg-su/libgnomesu to polkit | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Tobias Görgens <tobi.goergens> |
| Component: | YaST2 | Assignee: | E-mail List <yast2-maintainers> |
| Status: | RESOLVED WONTFIX | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | rokejulianlockhart+1674683091, tobi.goergens |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Tobias Görgens
2023-10-12 12:01:07 UTC
What problem is this trying to solve? This sounds like busywork for no real purpose at all. (In reply to Stefan Hundhammer from comment #1) > What problem is this trying to solve? This sounds like busywork for no real > purpose at all. This would allow modifying authentication requirements. Currently, su is used directly, where it's not possible to define extra authentication rules. Polkit allows that. Have a look at the above-mentioned thread. The user tries to get rid of the authentication passwords for yast. Currently, this is not possible, with polkit it is. This would also allow users of specific groups to authorize without password or other use cases. The last thing on earth that we need is to debug people's botched configurations when they try that, and then YaST doesn't work anymore, or it does weird things. We are receiving enough weird bug reports already. If you seriously want that, there is the possibility to start an Open Source project for an alternative YaST control center. The Qt YaST control center is just a very simplistic pure-Qt pure-C++ application that just acts as a very simplistic launcher for YaST modules. It's not very hard to write a new one that uses policy kit or whatever other authentication framework. It could still use the existing .desktop files and just call that other authentication framework instead of xdg-su. But we are certainly not going to debug and fix any resulting bug reports and problems. BTW a much simpler alternative would be to use 'sudo' with its powerful configuration options (see 'man sudoers') for individual YaST modules. For a longer discussion of this, see https://github.com/yast/yast-yast2/issues/1132#issuecomment-1779286193 https://github.com/yast/yast-yast2/issues/1132#issuecomment-1779340635 If you would like to discuss this in more detail, please continue there so we have it all at one central place. |