[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] More than one parameters in .mh_profile

From: Ralph Corderoy
Subject: Re: [Nmh-workers] More than one parameters in .mh_profile
Date: Tue, 29 May 2012 10:01:22 +0100

Hi Ken,

>     for (s = cmd; *s; s++) {
>         if (*s != ' ' && !isALPHA(*s) &&
>             strchr("$&*(){}[]'\";\\|?<>~`\n",*s)) {
> Seems like that's a pretty good list; if we see one of those
> characters, it gets sent to /bin/sh -c.  Otherwise we split and do it
> ourselves.

No `#'?  How about just always send to the user's shell from the
password entry with a -c, as distinct from /bin/sh.

Cheers, Ralph.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]