Skip to content

Script to create a fresh macOS chroot jail

Notifications You must be signed in to change notification settings

igorgn/macos-mkjail

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 

Repository files navigation

macOS mkjail

This project is no longer maintained.

Script to automatically prepare a functional chroot jail with the following utilities:

Utility Priority Type Depends
bash Required Self-compiled none
coreutils Required Self-compiled none
inetutils Required* Self-compiled none
grep Extra Self-compiled none
less Extra Self-compiled none
make Extra Self-compiled none
nano Extra Self-compiled none
gzip Extra Self-compiled none
zsh Extra Self-compiled none
tar Extra Self-compiled none
binutils Extra Self-compiled none
xz-utils Extra Self-compiled none
bzip2 Extra Pre-compiled none
bashpm Not recommended, not maintained Bash Script curl, xz-utils, tar, grep
curl (no SSL support) Recommended Pre-compiled CoreFoundation**

*: The script will continue even if this utility isn't compiled properly
**: A preinstalled framework in macOS, copied by the script inside the jail.

Tested on: macOS High Sierra (10.13.6), macOS Mojave (10.14)

Original gist

About

Script to create a fresh macOS chroot jail

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%