Tag Info

New answers tagged

0

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'


0

Under SSH, you can run command foo.sh in normal user: $ ssh normal_user@1.2.3.4 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@1.2.3.4 bash /path/to/foo.sh ...



Top 50 recent answers are included