summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2010-November/000889.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2010-November/000889.html')
-rw-r--r--zarb-ml/mageia-sysadm/2010-November/000889.html98
1 files changed, 98 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2010-November/000889.html b/zarb-ml/mageia-sysadm/2010-November/000889.html
new file mode 100644
index 000000000..9cab653e8
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2010-November/000889.html
@@ -0,0 +1,98 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [452] - improve error message when trying to get a interactive shell
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B452%5D%20-%20improve%20error%20message%20when%20trying%20to%20get%20a%0A%09interactive%20shell&In-Reply-To=%3C20101124111433.B74743FCA8%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="000888.html">
+ <LINK REL="Next" HREF="000891.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [452] - improve error message when trying to get a interactive shell</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B452%5D%20-%20improve%20error%20message%20when%20trying%20to%20get%20a%0A%09interactive%20shell&In-Reply-To=%3C20101124111433.B74743FCA8%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [452] - improve error message when trying to get a interactive shell">root at mageia.org
+ </A><BR>
+ <I>Wed Nov 24 12:14:33 CET 2010</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="000888.html">[Mageia-sysadm] [132] remove sudo calls, iurt_root_command is supposed to be run as root already
+</A></li>
+ <LI>Next message: <A HREF="000891.html">[Mageia-sysadm] [133] svn test
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#889">[ date ]</a>
+ <a href="thread.html#889">[ thread ]</a>
+ <a href="subject.html#889">[ subject ]</a>
+ <a href="author.html#889">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 452
+Author: misc
+Date: 2010-11-24 12:14:33 +0100 (Wed, 24 Nov 2010)
+Log Message:
+-----------
+- improve error message when trying to get a interactive shell
+
+Modified Paths:
+--------------
+ puppet/modules/restrictshell/templates/sv_membersh.pl
+
+Modified: puppet/modules/restrictshell/templates/sv_membersh.pl
+===================================================================
+--- puppet/modules/restrictshell/templates/sv_membersh.pl 2010-11-24 02:50:45 UTC (rev 451)
++++ puppet/modules/restrictshell/templates/sv_membersh.pl 2010-11-24 11:14:33 UTC (rev 452)
+@@ -149,7 +149,11 @@
+ }
+
+ unless (-e &quot;/etc/membersh-errormsg&quot;) {
+- print STDERR &quot;You tried to execute: @ARGV[1..$#ARGV]\n&quot;;
++ if ($ARGV) {
++ print STDERR &quot;You tried to execute: @ARGV[1..$#ARGV]\n&quot;;
++ } else {
++ print STDERR &quot;You tried to run a interactive shell.\n&quot;
++ }
+ print STDERR &quot;Sorry, you are not allowed to execute that command.\n&quot;;
+ } else {
+ open(ERRORMSG, &quot;&lt; /etc/membersh-errormsg&quot;);
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20101124/d2c67679/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="000888.html">[Mageia-sysadm] [132] remove sudo calls, iurt_root_command is supposed to be run as root already
+</A></li>
+ <LI>Next message: <A HREF="000891.html">[Mageia-sysadm] [133] svn test
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#889">[ date ]</a>
+ <a href="thread.html#889">[ thread ]</a>
+ <a href="subject.html#889">[ subject ]</a>
+ <a href="author.html#889">[ 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>