GithubHelp home page GithubHelp logo

aestrivex / fakechroot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dex4er/fakechroot

0.0 2.0 0.0 1.38 MB

gives a fake chroot environment

Home Page: http://fakechroot.alioth.debian.org/

License: GNU Lesser General Public License v2.1

fakechroot's Introduction

NAME
    fakechroot - gives a fake chroot environment

SYNOPSIS
    fakechroot [-s|--use-system-libs] [-l|--lib *library*]
    [-e|--environment *type*] [-c|--config-dir *directory*] [--] [*command*]

    fakechroot [-h|--help]

    fakechroot [-v|--version]

DESCRIPTION
    fakechroot runs a command in an environment were is additional
    possibility to use chroot(8) command without root privileges. This is
    useful for allowing users to create own chrooted environment with
    possibility to install another packages without need for root
    privileges.

    fakechroot replaces more library functions (chroot(2), open(2), etc.) by
    ones that simulate the effect the real library functions would have had,
    had the user really been in chroot. These wrapper functions are in a
    shared library /usr/lib/fakechroot/libfakechroot.so which is loaded
    through the `LD_PRELOAD' mechanism of the dynamic loader. (See ld.so(8))

    In fake chroot you can install Debian bootstrap with debootstrap(8)
    command. In this environment you can use i.e. apt-get(8) command to
    install another packages from common user's account.

    In the current version, the fakechroot does not provide the fakeroot(1)
    functionality! You might to call fakechroot with fakeroot command, if
    you want to emulate root environment, i.e.:

     $ fakechroot fakeroot /usr/sbin/chroot /tmp/debian /bin/sh
     # id
     uid=0(root) gid=0(root) groups=0(root)

SECURITY ASPECTS
    fakechroot is a regular, non-setuid program. It does not enhance a
    user's privileges, or decrease the host's system security.

    fakechroot should not be used as a tool for enhancing system security
    i.e. by separating (sandboxing) applications. It is very easy to escape
    from a fake chroot environment.

SEE ALSO
    fakeroot(1), debuild(1), debootstrap(8), febootstrap(8),
    http://fakechroot.alioth.debian.org/

BUGS
    If you find the bug or want to implement new features, please report it
    at https://github.com/fakechroot/fakechroot/issues

AUTHORS
    Copyright (c) 2003, 2005, 2007-2011 Piotr Roszatycki <[email protected]>

    Copyright (c) 2007 Mark Eichin <[email protected]>

    Copyright (c) 2006, 2007 Alexander Shishkin <[email protected]>

    Copyright (c) 2006, 2007 Lionel Tricon <[email protected]>

COPYING
    fakechroot is distributed under the GNU Lesser General Public License
    (LGPL 2.1 or greater).

fakechroot's People

Contributors

dex4er avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.