bootc-dev / bootc-dev/bootc

RFE: lift root requirements for some bootc commands

Abierto
#409 5 comentarios 0 reacciones 0 asignados Ver en GitHub
area/client enhancement
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

Abrir la 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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.