Mailing List Archive

[openssh] branch master updated (fc3cc33e -> fb06f9b5)
This is an automated email from the git hooks/post-receive script.

dtucker pushed a change to branch master
in repository openssh.

from fc3cc33e upstream: Only try to chmod logfile if we have sudo. If we don't have
new fb06f9b5 upstream: Don't try to use sudo inside sshd log wrapper.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Detailed log of new commits:

commit fb06f9b5a065dfbbef5916fc4accc03c0bf026dd
Author: dtucker@openbsd.org <dtucker@openbsd.org>
Date: Tue Oct 31 04:15:40 2023 +0000

upstream: Don't try to use sudo inside sshd log wrapper.

We still need to check if we're using sudo since we don't want to chown
unecessarily, as on some platforms this causes an error which pollutes
stderr. We also don't want to unnecessarily invoke sudo, since it's
running in the context of the proxycommand, on *other* platforms it
may not be able to authenticate, and if we're using SUDO then it should
already be privileged.

OpenBSD-Regress-ID: 70d58df7503db699de579a9479300e5f3735f4ee

Summary of changes:
regress/test-exec.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits