[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] More than one parameters in .mh_profile
From: |
Paul Vixie |
Subject: |
Re: [Nmh-workers] More than one parameters in .mh_profile |
Date: |
Wed, 30 May 2012 02:19:35 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 |
On 2012-05-29 10:36 PM, Tethys wrote:
> address@hidden writes:
>
>>> No `#'? How about just always send to the user's shell from the
>>> password entry with a -c, as distinct from /bin/sh.
>> The problem is that some people (at least in the Elder TImes) would have
>> their login shell set to /bin/csh but they'd want their scripty things
>> done in /bin/sh.
> In which case, couldn't they just do "sh -c whatever" as the thing that
> would get passed to their login shell (i.e., csh)? It's a bit clumsy,
> but it should work for the few people that are in that situation.
for that we have getenv('SHELL'), which is far more closely related to
the user's preferred command language than either their login shell or
the posix standard are going to be.
- Re: [Nmh-workers] More than one parameters in .mh_profile, (continued)
- 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, 2012/05/29
- 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 <=
- 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
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/30
Re: [Nmh-workers] More than one parameters in .mh_profile, Aleksander Matuszak, 2012/05/30
Re: [Nmh-workers] More than one parameters in .mh_profile, David Levine, 2012/05/30