On Mon, Apr 27, 2009 at 11:34 PM, Jerry Vonau 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?
cheers,
m
On Tue, Apr 28, 2009 at 12:03 PM, Ignacio Vazquez-Abrams
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 don't care about keeping $CMD as a
string, I think you are misunderstanding the problem
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 cl
On Tue, 2009-04-28 at 11:17 +0200, Martin Langhoff wrote:
> On Tue, Apr 28, 2009 at 9:27 AM, Ignacio Vazquez-Abrams
> 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
On Tue, Apr 28, 2009 at 1:01 PM, Ignacio Vazquez-Abrams
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 "this is file one"
bert wrote:
>
> On 28.04.2009, at 13:37, Martin Langhoff wrote:
>
> > On Tue, Apr 28, 2009 at 1:19 PM, Ignacio Vazquez-Abrams
> > wrote:
> >> Ah, I see now.
> >>
> >> Try this:
> >>
> >> bash -c 'touch "$@"' "${c...@]}"
> >
> > Riiight, that works better... but
> >
> >> Or in the c
On Tue, 2009-04-28 at 12:38 +0200, Martin Langhoff wrote:
> On Tue, Apr 28, 2009 at 12:03 PM, Ignacio Vazquez-Abrams
> 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 don't care about
On Tue, Apr 28, 2009 at 9:27 AM, Ignacio Vazquez-Abrams
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, which wants it
On 28.04.2009, at 13:37, Martin Langhoff wrote:
> On Tue, Apr 28, 2009 at 1:19 PM, Ignacio Vazquez-Abrams
> wrote:
>> Ah, I see now.
>>
>> Try this:
>>
>> bash -c 'touch "$@"' "${c...@]}"
>
> Riiight, that works better... but
>
>> Or in the case of the full script:
>>
>> bash -c "$ERL"' "$@"' "$
On 28.04.2009, at 14:27, p...@laptop.org wrote:
> bert wrote:
>>
>> On 28.04.2009, at 13:37, Martin Langhoff wrote:
>>
>>> On Tue, Apr 28, 2009 at 1:19 PM, Ignacio Vazquez-Abrams
>>> wrote:
Ah, I see now.
Try this:
bash -c 'touch "$@"' "${c...@]}"
>>>
>>> Riiight, that w
On Mon, Apr 27, 2009 at 10:17 PM, Martin Langhoff
wrote:
> Even if the code is still being worked on, it is reasonably safe to do
>
> yum --enablerepo=olpcxs-testing update
>
> to bring in new idmgr, ejabberd-xs, moodle-xs and xs-config.
Even more updates today, the moodle code has been pushed o
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 authentication before allowing access to the
> internet. It takes a different appr
Sorry if this subject has been covered before...
Can I install a GUI to the XS so that I can run a browser to log onto the
subscriber gateway that we are using here in Nauru? What do people recommend?
Or can the eth0 interface config file be set up to authenticate?
David Leeming
Leeming Intern
I suppose lynx, links, or curl couldn't do it?
On Wed, Apr 29, 2009 at 1:39 AM, david wrote:
> Sorry if this subject has been covered before...
>
> Can I install a GUI to the XS so that I can run a browser to log onto the
> subscriber gateway that we are using here in Nauru? What do people reco
On Tue, Apr 28, 2009 at 6:39 PM, david wrote:
> Sorry if this subject has been covered before...
>
> Can I install a GUI to the XS so that I can run a browser to log onto the
> subscriber gateway that we are using here in Nauru? What do people
> recommend? Or can the eth0 interface config file be
andrew wrote:
> On Tue, 2009-04-28 at 23:25 +1200, Andrew McMillan wrote:
> > Hi Martin,
> >
> > Perhaps:
> >
> > =
> > #!/bin/bash -x
> >
> > [ -n "$DEBUG" ] && set -o xtrace
> >
> > declare -a inparms
> >
> > declare -i i=0
> > while true
On Tue, Apr 28, 2009 at 6:34 PM, Jerry Vonau 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 authentication befor
On Tue, Apr 28, 2009 at 9:26 PM, Reuben K. Caron wrote:
> On Tue, Apr 28, 2009 at 6:34 PM, Jerry Vonau 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 b
18 matches
Mail list logo