From: "Todd C. Miller" Date: Mon, 13 Mar 2023 08:04:32 -0600 Subject: Add missing " ; " separator between environment variables and command. This is a regression introduced in sudo 1.9.13. GitHub issue #254. bug: https://github.com/sudo-project/sudo/issues/254 --- plugins/sudoers/logging.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/sudoers/logging.c b/plugins/sudoers/logging.c index bb31861..65ee04e 100644 --- a/plugins/sudoers/logging.c +++ b/plugins/sudoers/logging.c @@ -955,6 +955,7 @@ new_logline(const char *message, const char *errstr) sudo_lbuf_append_esc(&lbuf, LBUF_ESC_CNTRL, " %s", sudo_user.env_vars[i]); } + sudo_lbuf_append(&lbuf, " ; "); } if (user_cmnd != NULL) { sudo_lbuf_append_esc(&lbuf, LBUF_ESC_CNTRL|LBUF_ESC_BLANK,