Tag Info

New answers tagged


This works for me with Docker 1.5.0: docker run --privileged --net=host --rm ubuntu:latest /bin/sh -c \ 'echo 65535 > /proc/sys/net/core/somaxconn'


Under SSH, you can run command foo.sh in normal user: $ ssh normal_user@ bash /path/to/foo.sh if one of foo.sh's command need root privilege, for example, netstat, wrap it within su command like this (replace original raw netstat -tunple): su -c "netstat -tunpl" root and run foo.sh like this: $ ssh -t normal_user@ bash /path/to/foo.sh ...

Top 50 recent answers are included