1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
# A template configuration file for creating the chrooted environment
# for rush. Run "mkchroot --help" and see the section CONFIGURATION
# for a discussion of its syntax and available keywords.
#
# This file assumes the default setup shipped with the debian rush
# package.
#
# Edit it is to you liking prior to running mkchroot.
# Set up chrooted environment under this directory.
ChrootDir /srv/rush
# Copy the following binaries to the /bin subdirectory of the
# created environment. Each binary is inspected, the list of shared
# libraries it depends on is extracted, and the libraries are copied
# to the /lib directory of the chrooted environment.
Binaries /usr/bin/scp /usr/lib/sftp-server \
/usr/bin/rsync /usr/bin/cvs /usr/bin/svnserve \
/usr/bin/git-receive-pack /usr/bin/git-upload-pack
# You will need to provide login names of the users to be added to the
# user database in the chrooted environment. These users must already
# exist in the host system user database and have /usr/sbin/rush as
# their shell.
#
# Add user names as a whitespace-delimited list with the Users keyword:
# Users name1 name2 ...
# To add all users belonging to a particular group, uncomment the Groups
# statement below and add the name of that group (or groups) there:
#
# Groups group1 group2 ...
|