/fakechroot-utils

Chroot without root privilege on shared system: scripts, config, docs.

Primary LanguageShellDo What The F*ck You Want To Public LicenseWTFPL

fakechroot.sh

Chroot without root privilege on shared system.

Suitable for setting up your work environment on a shared machine in an academic lab, running old Ubuntu or CentOS.

Index

  1. Task: Preparing an ArchLinux chroot environment.

    Docs:

    Scripts:

  2. Task: Build bubblewrap statically.

    Docs:

  3. Task: Clearing up environment variable passed from outside the chroot.

    Scripts:

  4. Task: Share NVIDIA GPU devices with the chroot environment.

    Docs:

  5. Task: Use Visual Studio Code to connect to the remote chroot environment via SSH.

    Docs:

  6. Issue: man shows error message: “error while loading shared libraries”

    Docs:

  7. Issue: Proot does nothing; with arguments -v 1, it shows “proot info: vpid 1: terminated with signal 11”.

    Docs:

  8. Issue: pacman produces error message: “proot: ./path/path.c:547: compare_paths2: Assertion length2 > 0 failed.”

    Docs:

License

Licensed under WTFPL, version 2.

License terms available at: http://www.wtfpl.net/about/.

If you benefit from this program, please consider writing a blog post to introduce this method.