Hi, I don't think this is possible in 1.6.0, see the default sudoers config created by distrobox: https://github.com/89luca89/distrobox/blob/main/distrobox-init#L1779 distrobox-init assigns the wheels/sudo/root groups to the user in guest container if host user has them. Maybe mounting a volume with one's own sudoers into the container will work as well. On Mon, Jan 22, 2024 at 11:55 PM Jim Henderson <hendersj@gmail.com> wrote:
On Mon, 22 Jan 2024 22:48:12 -0000 (UTC), Jim Henderson wrote:
We've got a forum user using Distrobox with an arch image who is getting an error that '<username> is not in sudoers' file. I found a thread a couple months ago on Reddit reporting this as well, and it seemed to be thought that this was likely an issue with the arch image.
The user has worked around it by adding himself to 'wheel' in the host, but that didn't used to be necessary, so I'm still curious as to how to get the original functionality back.
-- Jim Henderson Please keep on-topic replies on the list so everyone benefits