[Error] Distrobox doesn't add user to `wheel` group
bug
Hi!
I'm creating a test container like this:
```bash
distrobox create \
--name RockyLatestSystemd \
--hostname RockyLatestSystemd \
--init \
--image rockylinux:9.3 \
--additional-packages "systemd" \
--root
```
The problem is that, once inside the container, I can't use `sudo` (and my user is not in the `wheel` group).
For example:
```bash
# Outside the container, sudo works just fine!
$ sudo echo hello, world
hello, world
# I enter the container
$ distrobox enter --root RockyLatestSystemd
# I try to use `sudo` ...
$ sudo echo hello, world
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
[sudo] password for vvz3n:
vvz3n is not in the sudoers file. This incident will be reported.
$ groups
vvz3n
# Outside the container, I'm in the `wheel` group!
$ exit
$ logout
$ groups
vvz3n wheel
```
This is happening on
```
$ distrobox version
distrobox: 1.8.2.4
```
0 条评论