diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000806.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2010-November/000806.html | 116 |
1 files changed, 116 insertions, 0 deletions
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 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-sysadm] [409] add class for scp and sftp + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B409%5D%20add%20class%20for%20scp%20and%20sftp&In-Reply-To=%3C20101123011112.CFFB03FC92%40valstar.mageia.org%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="000804.html"> + <LINK REL="Next" HREF="000805.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-sysadm] [409] add class for scp and sftp</H1> + <B>root at mageia.org</B> + <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B409%5D%20add%20class%20for%20scp%20and%20sftp&In-Reply-To=%3C20101123011112.CFFB03FC92%40valstar.mageia.org%3E" + TITLE="[Mageia-sysadm] [409] add class for scp and sftp">root at mageia.org + </A><BR> + <I>Tue Nov 23 02:11:12 CET 2010</I> + <P><UL> + <LI>Previous message: <A HREF="000804.html">[Mageia-sysadm] [408] - split the module in 2 part, and add class to allow to more easyly +</A></li> + <LI>Next message: <A HREF="000805.html">[Mageia-sysadm] [410] class was renamed 3 commits ago +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#806">[ date ]</a> + <a href="thread.html#806">[ thread ]</a> + <a href="subject.html#806">[ subject ]</a> + <a href="author.html#806">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>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> +</PRE> + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="000804.html">[Mageia-sysadm] [408] - split the module in 2 part, and add class to allow to more easyly +</A></li> + <LI>Next message: <A HREF="000805.html">[Mageia-sysadm] [410] class was renamed 3 commits ago +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#806">[ date ]</a> + <a href="thread.html#806">[ thread ]</a> + <a href="subject.html#806">[ subject ]</a> + <a href="author.html#806">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm +mailing list</a><br> +</body></html> |