From 3fa85d8cc6eb8206a708db2ce1229ef77f956734 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Tue, 2 Nov 2010 17:55:53 +0000 Subject: add module to install shell to restrict access to only svn, git, and later package submit --- modules/restrictshell/templates/membersh-conf.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 modules/restrictshell/templates/membersh-conf.pl (limited to 'modules/restrictshell/templates/membersh-conf.pl') diff --git a/modules/restrictshell/templates/membersh-conf.pl b/modules/restrictshell/templates/membersh-conf.pl new file mode 100755 index 00000000..ee80052f --- /dev/null +++ b/modules/restrictshell/templates/membersh-conf.pl @@ -0,0 +1,13 @@ +$use_svn = "<%= allow_svn %>"; +$bin_svn = "/usr/bin/svnserve"; +$regexp_svn = "^svnserve -t\$"; +#@prepend_args_svn = ( '-r', '/svn' ); +@prepend_args_svn = (); + +$use_git = "<%= allow_git %>"; +$bin_git = "/usr/bin/git-shell"; + +$use_rsync = "<%= allow_rsync %>"; +$bin_rsync = "/usr/bin/rsync"; +$regexp_rsync = "^rsync --server"; +$regexp_dir_rsync = "^/.*"; -- cgit v1.2.1