GNU Rush |
|
Restricted User Shell |
Sergey Poznyakoff |
In this chapter we will explain how to write GNU Rush configuration rules for several popular remote copy and version control system utilities. For this purpose, we assume the following setup:
scp
and rsync
to upload
files to the /incoming directory and to copy files to and from
their ~/public_html directory.
The actual location of the /incoming directory is /home/ftp,
but that must be transparent to users, i.e. they use
scp file host:/incoming
(not
host:/home/ftp/incoming
) to upload files.
sftp
to manage their
~/public_html directory. In this case, to prevent users from
accessing other directories, sftp-server
is executed in a
chrooted environment.
VCS | Repository Root |
---|---|
cvs | /cvsroot |
svn | /svnroot |
git | /gitroot |
This document was generated on January 2, 2022 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.