https://bugzilla.mindrot.org/show_bug.cgi?id=2791
--- Comment #2 from [email protected] --- Uhm, system(3) should use sh(1) manpages for sh(1) on my system are explicitly about bash, but otherwise I think it should be about this: http://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html which says that the path for `sh` should be resolved from PATH (I was under the impression that the POSIX standard specified that /bin/sh would always have to exist, but I guess I was wrong?) I haven't looked into openssh source code, but given the above, I'd be surprised if it used system(3) I understand that the behavior might not be changed, but the error message Unable to execute '/usr/bin/true': No such file or directory Seems to be a bit misleading to me, given that the actual command executed would've been something like sh -c /usr/bin/true Thanks anyhow for looking into this -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
