You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Capsh is a great tool to drop capabilities for preventing jailbreak from chroot.
However, it hardcodes /bin/bash to run(in chrooted rootfs), thus we can not run
containers which don't have /bin/bash.
Maybe we have 3 options;
If there is no /bin/bash but /bin/sh, add a wrapper shell script as /bin/bash. (which just exec /bin/sh with given parameters)
If there is no /bin/sh, we just fail to run, and warn the reason.
Fix capsh (to use /bin/sh or just directly run given command) or make another command.
The text was updated successfully, but these errors were encountered:
Capsh is a great tool to drop capabilities for preventing jailbreak from chroot.
However, it hardcodes /bin/bash to run(in chrooted rootfs), thus we can not run
containers which don't have /bin/bash.
Maybe we have 3 options;
The text was updated successfully, but these errors were encountered: