[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.
- [Nmh-workers] More than one parameters in .mh_profile, Aleksander Matuszak, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile, Jerrad Pierce, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile, Jerrad Pierce, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile,
Ralph Corderoy <=
- Re: [Nmh-workers] More than one parameters in .mh_profile, valdis . kletnieks, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Kevin Cosgrove, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Vixie, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Tethys, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Jerrad Pierce, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Vixie, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Lyndon Nerenberg, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Fox, 2012/05/30
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/30