Guest User

Untitled

a guest
Jan 12th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # First, added `root` group via System Preferences > Users & Groups
  2. # (`/sbin/groupadd` is not present on macOS)
  3.  
  4. $ sudo chown root:root /Users/jail
  5. $ ls -ld /Users/jail
  6. drwxr-xr-x+ 13 root root 442 Jan 12 15:21 /Users/jail
  7. $ sudo /usr/local/Cellar/jailkit/2.19/sbin/jk_init -v /Users/jail basicshell
  8. ERROR: /Users/jail is not owned by root:root!
  9.  
  10. ERROR: jail directory /Users/jail is not safe
Add Comment
Please, Sign In to add comment