RFE: lift root requirements for some bootc commands
- Lenguaje dominante
- Rust
- Estrellas
- 2.3k
- Forks
- 230
- Merge medio
- 3 d 12 h
- PR fusionados (30 d)
- 38
Descripción
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?
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- cli, operating-systems
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100