View Single Post
Posts: 8 | Thanked: 12 times | Joined on Aug 2016
#254
Originally Posted by peterleinchen View Post
Code:
devel-su usermod -a nemo -G net_raw
Is the idea there to match the UID of the SFOS user with the one in the container?

My results:

Sailfish:

Code:
# useradd -G net_raw lxcuser

# groups lxcuser
lxcuser net_raw
Container:

Code:
# adduser -u 100001 -s /bin/ash -D lxcuser

# su lxcuser -c 'curl 1.1.1.1'
curl: (7) Failed to connect to 1.1.1.1 port 80 after 0 ms: Couldn't connect to server
Adding the SFOS user to many other groups didn't influence the result ...