Skip to content

jsarenik/Mac-Hroot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scripts to make a working chroot on macOS.
It currently works with macOS Mojave (10.14.5).

mac-jail$ uname -a
Darwin my-funny-hostname.local 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64

USAGE
=====

./mkmacchroot.sh [directory]

If the directory is not specified, then $PWD/mac-jail will be used.

sudo ./chroot.sh [directory]

This script enters the created chroot as current user, re-using SSH agent
and mDNSResolver from host system.

About

Handy scripts to help building custom chroot on Mac OS X

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages