On 2019/10/01 05:41, Greg Wooledge wrote:
> On Tue, Oct 01, 2019 at 04:14:00AM -0700, L A Walsh wrote:
>   
>> On 2019/09/30 14:39, Grisha Levit wrote:
>>     
>>> A few of the recently-added shopt options aren't getting reset when
>>> running a shebang-less script, this should fix it up:
>>>   
>>>       
>> Suppose the shebang-less script is being run by an earlier version
>> of bash.  Won't the new patch radically change the behavior of of
>> such programs?
>>     
>
> Bash allows a child of itself (a subshell) to read the commands.
> GNU find -exec uses /bin/sh to run it.
> zsh and csh both use /bin/sh to run it, I think.
>   
----
    So if a user has 'rbash' in /etc/passwd, they might get a real shell
because various programs ignore what /etc/passwd says?

    Um....I suppose no one cares for one reason or another.


Reply via email to