On Mon, Apr 27, 2009 at 11:34 PM, Jerry Vonau jvo...@shaw.ca wrote:
Have a look at the method used with NoCatAuth from http://nocat.net/
Might make a good starting point.
Looked at it briefly, but it's not clear what's interesting in it. Is
there something specific that nocat does really well?
On Mon, 2009-04-27 at 22:37 +0200, Martin Langhoff wrote:
Hi all,
I have a simple shell scripting problem :-) you'll find attached a
shell script that ships with ejabberd. It is a fairly straightforward
bit of code, and allows us to control bits of the ejabberd internals
with a nice cli
On Tue, 2009-04-28 at 11:17 +0200, Martin Langhoff wrote:
On Tue, Apr 28, 2009 at 9:27 AM, Ignacio Vazquez-Abrams
ivazquez...@gmail.com wrote:
# in the script, the CMD is built up as a string
CMD=touch $@
http://mywiki.wooledge.org/BashFAQ/050
That repeats what we know already. The
On Tue, Apr 28, 2009 at 1:01 PM, Ignacio Vazquez-Abrams
ivazquez...@gmail.com wrote:
Which part of the following doesn't work?
Just test your minimal 3 line script with the example input I've given
you. It breaks:
# cat sample.sh
#! /bin/bash
CMD=(touch $@)
bash -c ${c...@]}
# ./sample.sh
bert wrote:
On 28.04.2009, at 13:37, Martin Langhoff wrote:
On Tue, Apr 28, 2009 at 1:19 PM, Ignacio Vazquez-Abrams
ivazquez...@gmail.com wrote:
Ah, I see now.
Try this:
bash -c 'touch $@' ${c...@]}
Riiight, that works better... but
Or in the case of the
On Tue, 2009-04-28 at 12:38 +0200, Martin Langhoff wrote:
On Tue, Apr 28, 2009 at 12:03 PM, Ignacio Vazquez-Abrams
ivazquez...@gmail.com wrote:
But if you're willing to let go of this futile quest to keep $CMD a
string then you'll find that it can be done:
Your example doesn't work. I
On Tue, Apr 28, 2009 at 9:27 AM, Ignacio Vazquez-Abrams
ivazquez...@gmail.com wrote:
# in the script, the CMD is built up as a string
CMD=touch $@
http://mywiki.wooledge.org/BashFAQ/050
That repeats what we know already. The thing is that we are building
the command as a string for runuser,
On Tue, Apr 28, 2009 at 6:34 PM, Jerry Vonau jvo...@shaw.ca wrote:
On Tue, 2009-04-28 at 16:34 -0400, Reuben K. Caron wrote:
All of the documentation is contained within their download. It
appears like a nice lightweight solution. It is basically a captive
portal that requires