chroot

  1. K

    Setting up a Bionic/Linux (Android) chroot environment on FreeBSD.

    Why have you done this? Mainly due curiosity and research purposes. Android makes use of the Linux kernel + Bionic libc (userland), so I thought an Android chroot environment would work, just like any GNU/Linux chroot environment does. It's important to note, however, essential Android apps...
  2. kr0m

    Problem chrooting Linux system

    Hello, i am trying some testing about Linux chroot under FreeBSD, if i use debottstrap to obtain Linux system it works without problem: debootstrap --arch=amd64 --no-check-gpg focal ./test mount -o nocover -t linprocfs linprocfs ./test/proc mount -o nocover -t linsysfs linsysfs ./test/sys mount...
  3. grahamperrin

    pkg(8) --chroot with packages created by poudriere, and /var/log/messages

    The package data in /usr/local/poudriere/data/packages – how best to make this available? A symbolic link, maybe? root@mowa219-gjp4-8570p:~ # date ; uname -v Fri May 7 06:49:39 BST 2021 FreeBSD 14.0-CURRENT #94 main-n246499-097e8701c9f: Thu May 6 07:26:23 BST 2021...
  4. Spity

    Help to Install Linux/ubuntu on compat

    many times I have tried to install linux in /compat and it always fails. I have followed several tutorials on the web. The question is does anyone have a guide that really works or a script that does the job?
  5. E

    C/C++ chroot() and setuid() sandboxing

    I'm looking into different security models that are lightweight. Let's say I have a readonly web service that takes a folder of markdown files and serves them up as HTML. It gets launched as root and binds to port 8080. It then chroots() to the markdown file folder and does setuid (65534)...
  6. micski

    SFTP with SSH key: No supported authentication methods available

    If I configure an SFTP-only user, that will connect via SFTP and public key to a jailed (chroot'ed) directory, then the user is denied access. I see the following error in the log. # tail /var/log/auth.log Mar 24 23:40:05 wopr sshd[11628]: user joshua login class [preauth] Mar 24 23:40:05 wopr...
  7. mod3777

    Unprivileged jails

    Linux has Unprivileged containers, through which a user can manage containers if admin allows him via a special config file, faking some parts with user subuids and subgids, and others, like create devices, etc… are "bypassed" during the installation process of "tweaked" templates of lxchub (or...
  8. R

    Solved FreeBSD 11.2 chroot to Trident (based on FreeBSD 12 current) possible?

    I screw up my package management on Trident Beta 3 (a TrueOS fork) so I don't get a display manager and also no text console after boot. I also have FreeBSD 11.2 installed and thought that I could fix this problem using a chroot from FreeBSD to Trident. So I imported "tank" to /mnt and tried a...
  9. S

    Chroot / Jail Service (Apache, Postfix, Squid)

    HI everyone I am started building my own Firewall / Router. I'm planing to run applications like Squid Proxy etc on it. I'm am new to BSD so I don't know the proper way to do this. I'm only experienced with Linux (Ubuntu / Centos). For better security I want to Chroot every service. As far as I...
  10. freeBSDn

    Solved Chroot sftp bad ownership

    Hi - This is driving me mad.. FreeBSD 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401 I'm running lots of websites with www/apache24. I have developers looking access to modify files. I don't want to give access to server just to applicable sites. My setup is as follows: I create user accounts...
  11. S

    X applications in a chroot

    Hi everybody! I'm sorry but English isn't my native language. Does anyone know how to run X applications inside a chroot? I've seen in GNU/Linux and I want do to this in FreeBSD. I've modified for the chroot in rc.conf : jail_x32_ip="192.168.1.32" jail_x32_devfs_enable="YES"...
Top