From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2010-November/000806.html | 116 ++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2010-November/000806.html (limited to 'zarb-ml/mageia-sysadm/2010-November/000806.html') diff --git a/zarb-ml/mageia-sysadm/2010-November/000806.html b/zarb-ml/mageia-sysadm/2010-November/000806.html new file mode 100644 index 000000000..41aed17e5 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2010-November/000806.html @@ -0,0 +1,116 @@ + + + + [Mageia-sysadm] [409] add class for scp and sftp + + + + + + + + + +

[Mageia-sysadm] [409] add class for scp and sftp

+ root at mageia.org + root at mageia.org +
+ Tue Nov 23 02:11:12 CET 2010 +

+
+ +
Revision: 409
+Author:   misc
+Date:     2010-11-23 02:11:12 +0100 (Tue, 23 Nov 2010)
+Log Message:
+-----------
+add class for scp and sftp
+
+Modified Paths:
+--------------
+    puppet/modules/restrictshell/manifests/init.pp
+    puppet/modules/restrictshell/templates/membersh-conf.pl
+
+Modified: puppet/modules/restrictshell/manifests/init.pp
+===================================================================
+--- puppet/modules/restrictshell/manifests/init.pp	2010-11-23 01:11:10 UTC (rev 408)
++++ puppet/modules/restrictshell/manifests/init.pp	2010-11-23 01:11:12 UTC (rev 409)
+@@ -77,4 +77,16 @@
+     class allow_svn {
+         allow{ "svn": }
+     }
++
++    class allow_scp {
++        allow{ "scp": }
++    }
++
++    class allow_sftp {
++        allow{ "sftp": }
++    }
++    # technically, we could add cvs too
++    # but I doubt we will use it one day
++
++
+ }
+
+Modified: puppet/modules/restrictshell/templates/membersh-conf.pl
+===================================================================
+--- puppet/modules/restrictshell/templates/membersh-conf.pl	2010-11-23 01:11:10 UTC (rev 408)
++++ puppet/modules/restrictshell/templates/membersh-conf.pl	2010-11-23 01:11:12 UTC (rev 409)
+@@ -11,6 +11,8 @@
+ $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)
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: </pipermail/mageia-sysadm/attachments/20101123/c349dda7/attachment.html>
+
+ + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1