Follow-up Comment #6, sr #723 (project savane):
>> See bug #2880.
>
> I havent found the copy of membersh-conf.pl there
Hmm, weird. I see it, in comment #3. Anyway, here it is again, below. The
paths in it are correct. I did not uncomment the regexp bits, not
understanding what they do. I tried `sv-membersh cvs` which looks like it
should have worked (doesn't have a regexp thing) and just got the error
message:
# sv_membersh cvs
You tried to execute: cvs
Sorry, you are not allowed to execute that command.
If I run cvs by itself, it works:
# cvs
Usage: cvs [cvs-options] command [command-options-and-arguments]
where cvs-options are -q, -n, etc.
(specify --help-options for a list of options)
where command is add, admin, etc.
(specify --help-commands for a list of commands
or --help-synonyms for a list of command synonyms)
where command-options-and-arguments depend on the specific command
(specify -H followed by a command name for command-specific help)
Specify --help to receive this message
The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
the CVS home page at http://www.cvshome.org/ or
Pascal Molli's CVS site at http://www.loria.fr/~molli/cvs-index.html
Anyway, here's the membersh-conf.pl file (some of the characters are likely
to end up `\`-escaped after I post it here):
________ membersh-conf.pl _________
#!/usr/bin/perl
## WTF do the regexps in this file do??
#
# Sample membersh conf (restricted shell)
#
$use_cvs = "1";
$bin_cvs = "/usr/bin/cvs";
#
$use_scp = "1";
$bin_scp = "/usr/bin/scp";
# $regexp_scp = "^scp .*-t (/upload)|(/var/ftp)";
$use_sftp = "1";
$bin_sftp = "/usr/libexec/openssh/sftp-server";
# $regexp_sftp =
"^(/usr/lib/ssh/sftp-server|/usr/lib/sftp-server|/usr/libexec/$
#
$use_rsync = "1";
$bin_rsync = "/usr/bin/rsync";
# $regexp_rsync = "^rsync --server";
# $regexp_dir_rsync = "^(/upload)|(/var/ftp)";
_______________________________________________________
Reply to this item at:
<http://gna.org/support/?func=detailitem&item_id=723>
_______________________________________________
Message sent via/by Gna!
http://gna.org/