Follow-up Comment #3, bug #2880 (project savane):

Hmm.  I find that my /etc is full of .conf files, yes, but only for
system-wide utilities, not for things that are used internally by various
applications.  Same goes for binaries in my system bin directories.  For
example, Ghostscript does not install its large pile binaries in
/usr/local/bin/.  But oh well.  Not really a big issue to me.

Anyway, you'd asked for my membersh-conf.pl:

I haven't enabled the $regexp_* options, since I'm not certain what they are
for.

I try a commandline like so to see if it works:
% sv_membersh cvs
You tried to execute: cvs
Sorry, you are not allowed to execute that command.

Here's the 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/bugs/?func=detailitem&item_id=2880>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev

Reply via email to