aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell/templates/membersh-conf.pl
blob: e7be426656e177b79ab1e77e34bd8f8dd4ea7388 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


$bin_svn = "/usr/bin/svnserve";
$regexp_svn = "^svnserve -t\$";
#@prepend_args_svn = ( '-r', '/svn' );
@prepend_args_svn = ();

$bin_git = "/usr/bin/git-shell";

$bin_rsync = "/usr/bin/rsync";
$regexp_rsync = "^rsync --server";
$regexp_dir_rsync = "^/.*";

$bin_sftp = "<%= @lib_dir %>/ssh/sftp-server";
$regexp_sftp = "^(/usr/lib{64,}/ssh/sftp-server|/usr/lib/sftp-server|/usr/libexec/sftp-server|/usr/lib/openssh/sftp-server)";

foreach my $f (glob("/etc/membersh-conf.d/allow_*pl")) {
    do($f)
}
1;