newnet
run a command in a new PID namespace
Install
- All systems
-
curl cmd.cat/newnet.sh
- Debian
-
apt-get install newpid
- Ubuntu
-
apt-get install newpid
- Kali Linux
-
apt-get install newpid
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install newpid
- Raspbian
-
apt-get install newpid
- Dockerfile
- dockerfile.run/newnet
newpid
run a command in a new PID namespace
newpid is a very simple wrapper around clone(CLONE_NEWPID) that launches a command in a new PID namespace. /proc is also remounted so it sees the new process space. Needs root to run.