cvsd-buildroot(8)

NAME
cvsd-buildroot - create a chrooted directory structure for use in cvsd.

SYNOPSIS
cvsd-buildroot DIRECTORY

DESCRIPTION
cvsd-buildroot creates and populates a directory that can be used as a chroot jail for running cvsd (see cvsd(8)) in. This script should be run as the root user since the creation of devices and the changing of ownership and permissions require this. The script gives warnings about files that it's not expecting. cvsd-buildroot creates the following directory structure:

/bin
    This directory is populated with the cvs binary that is found on the system.

/lib
    This directory is populated with all the libraries that are required for running programs in the /bin directory.

/dev
    Here a null device is created.

/etc
    In this directory a passwd file is created that is used for matching user id's with usernames. The root and cvsd user are added to this file if they're not there yet.

/tmp
    This directory is cleaned out. Old files are removed.

After the directories are created and populated ownership and rights are set to a reasonable value (root:root,umask=022).

OPTIONS
cvsd-buildroot takes one argument, namely a directory in which the chroot jail will be created. The directory should be specified with an absolute path.

SEE ALSO
cvsd(8)

AUTHOR
Arthur de Jong <arthur@tiefighter.et.tudelft.nl>.