-
I'm having trouble launching a desktop application because it requires the user running it to be a member of a particular group. I can run a root shell, but the root shell doesn't know users or groups (usermod gives error because user 'phablet' doesn't exist)..
I can run a shell as 'phablet' user, but can't do usermod because sudo won't work (sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set).
Seems like a catch 22!
-
I am very interested in this question. I also have this problem when I try to install Wireshark. Not only you can not reply to the questions asked during installation because the keyboard is ignored by the container management tool, but more importantly, things can't be rectified after installation for the reasons outlined by the OP.
BR
Pulsar33 -
@georgeb1962 What application requires you to be a member of a specific group? I would say that application is broken.
Groups are basically irrelevant in a Libertine container, as it's unprivileged. Which means that everything is treated as owned by the user already, so the user already has access to everything. If you install
sudo
in the container, it can cause the container to become broken, so it is recommended to not install it. -
@dobey Wireshark is not a "broken" application and requires for all systems which want to install it that a group "wireshark" is created and that the user is added in this group ...
Good night
Pulsar33 -
@pulsar33 Yes, wireshark is not designed to be run from an unprivileged container, as it requires a user in privileged group, and has a setuid binary. Therefore you should not try to run it in a libertine container, as it will not work properly.