Building a Jail

Revision as of 05:34, 7 September 2024 by Maintenance script (talk | contribs) (Initial)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<syntaxhighlight lang="bash">mkdir jailed cd jailed mkdir bin/ lib64/ lib/ cp /lib/x86_64-linux-gnu/libtinfo.so.5 lib/ cp /lib/x86_64-linux-gnu/libdl.so.2 lib/ cp /lib/x86_64-linux-gnu/libc.so.6 lib/ cp /lib64/ld-linux-x86-64.so.2 lib64/ cp /bin/bash bin/</syntaxhighlight>