RFE: lift root requirements for some bootc commands
- Vorherrschende Sprache
- Rust
- Sterne
- 2.3k
- Forks
- 230
- Ø Merge
- 3 T. 12 Std.
- Gemergte PRs (30 T.)
- 38
Beschreibung
Feel free to push back on this, but there are a number of rpm-ostree commands that can be run w/o sudo access. `rpm-ostree status` is what comes to mind. I believe we have policykit (or something like that!) to enable certain commands from non-privileged users. It would be nice if we could do the same for bootc.
I *think* we want any user w/ shell access to be able to querry:
```
$ bootc status
ERROR Status: Querying root privilege: This command requires root privileges
```
Thoughts?
Beitragsleitfaden
Rechercherichtung
Start with the bootc status command and its current root-privilege check. Review how rpm-ostree and policykit handle non-privileged status queries, then determine the applicable bootc commands and authorization behavior. Done means permitted read-only queries work for users without sudo while privileged operations retain their protection.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli, operating-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100