You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using distrobox (using distrobox-1.6.0.1-1.1.noarch and podman-4.8.3-1.1.x86_64 on MicroOS-based distro) I get this:
With a root-full container:
tumbleweed-pkg~/r/m2crypto (master)$ id
uid=1000(matej) gid=1000(matej) groups=1000(matej),0(root)
tumbleweed-pkg~/r/m2crypto (master)$ groups
matej root
tumbleweed-pkg~/r/m2crypto (master)$ sudo groups matej
[sudo] heslo pro matej:
matej : matej wheel
With a rootless container:
fun~$ id
uid=1000(matej) gid=1000(matej) groups=1000(matej),65534(nobody)
fun~$ groups
matej nobody
fun~$ sudo groups matej
matej : matej wheel
To Reproduce
Just assemble those two containers with this distrobox.ini:
Then because of #1092 using podman switch sudo from Defaults targetpw to the default sudo behaviour (so we can function even without the root password).
Add normal user of both containers (via sudo -i) to the wheel group, restart the host system (to be certain).
Run the above shown commands.
Expected behavior groups command would show the same result as for normal users as for the root.
Desktop (please complete the following information):
Are you using podman, docker or lilipod? podman
Which version or podman, docker or lilipod? see above
Which version of distrobox? see above
Which host distribution? MicroOS (basically openSUSE/Tumbleweed)
How did you install distrobox? from the openSUSE packages.
The text was updated successfully, but these errors were encountered:
Describe the bug
Using distrobox (using
distrobox-1.6.0.1-1.1.noarch
andpodman-4.8.3-1.1.x86_64
on MicroOS-based distro) I get this:With a root-full container:
With a rootless container:
To Reproduce
Just assemble those two containers with this
distrobox.ini
:Then because of #1092 using podman switch sudo from
Defaults targetpw
to the defaultsudo
behaviour (so we can function even without theroot
password).Add normal user of both containers (via
sudo -i
) to thewheel
group, restart the host system (to be certain).Run the above shown commands.
Expected behavior
groups
command would show the same result as for normal users as for theroot
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: