HUB
Sign inSign up

cgwalters/setuid-shell

By cgwalters

•Updated almost 11 years ago

Image with a setuid shell for testing.

Image
0

1.2K

cgwalters/setuid-shell repository overview

Use this image as a test case for securing Docker image hosts.

First, you can directly run:

/usr/bin/rootshell -p

This is just a copy of bash, which apparently requires an undocumented -p option: http://unix.stackexchange.com/questions/74527/setuid-bit-seems-to-have-no-effect-on-bash⁠

Or, the root password has been removed and you can use the traditional su:

su - root
Tag summary
Recent tags
Content type
Image
Digest
Size
82.5 MB
Last updated
almost 11 years ago
docker pull cgwalters/setuid-shell:latest