Call for testing: OpenSSH 9.7

Darren Tucker dtucker at dtucker.net
Fri Mar 8 10:03:07 AEDT 2024


On Fri, 8 Mar 2024 at 09:19, Job Snijders <job at openbsd.org> wrote:
> On Thu, Mar 07, 2024 at 11:13:50PM +0100, Predrag Zečević wrote:
> > Not all systems have /bin/sh linked to /bin/bash.
>
> Are there systems without /bin/sh?

In practice probably not many, although it's not *required*[0] by
POSIX.  That said, there is also another (particularly older) subset
of systems which have a /bin/sh that is sufficiently limited that
writing anything nontrivial in them is difficult and painful, hence
why the tests are run via whatever ends up in $TEST_SHELL instead of
/bin/sh.

[0] https://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html
"""
Applications should note that the standard PATH to the shell cannot be
assumed to be either /bin/sh or /usr/bin/sh, and should be determined
by interrogation of the PATH returned by getconf PATH , ensuring that
the returned pathname is an absolute pathname and not a shell
built-in.
"""

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list