[openssh-commits] [openssh] branch master updated: upstream: add a "Match Group NoSuchGroup" to exercise groupaccess.c

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Jul 12 09:28:41 AEST 2025


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

The following commit(s) were added to refs/heads/master by this push:
     new f01a899b9 upstream: add a "Match Group NoSuchGroup" to exercise groupaccess.c
f01a899b9 is described below

commit f01a899b92ab8c5e6ff71214658bd09636c47e87
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Fri Jul 11 23:26:59 2025 +0000

    upstream: add a "Match Group NoSuchGroup" to exercise groupaccess.c
    
    OpenBSD-Regress-ID: 7ff58e6f0eb21eb9064dd0cfa78c3b6f34b5f713
---
 regress/cfgmatch.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/regress/cfgmatch.sh b/regress/cfgmatch.sh
index 2737a5f97..8b9d80f0a 100644
--- a/regress/cfgmatch.sh
+++ b/regress/cfgmatch.sh
@@ -1,4 +1,4 @@
-#	$OpenBSD: cfgmatch.sh,v 1.14 2024/09/27 01:05:54 djm Exp $
+#	$OpenBSD: cfgmatch.sh,v 1.15 2025/07/11 23:26:59 djm Exp $
 #	Placed in the Public Domain.
 
 tid="sshd_config match"
@@ -106,6 +106,8 @@ cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy
 echo "PermitOpen 127.0.0.1:1 127.0.0.1:$PORT 127.0.0.2:2" >>$OBJ/sshd_proxy
 echo "Match User NoSuchUser" >>$OBJ/sshd_proxy
 echo "PermitOpen 127.0.0.1:1 127.0.0.1:2" >>$OBJ/sshd_proxy
+echo "Match Group NoSuchGroup" >>$OBJ/sshd_proxy
+echo "PermitOpen 127.0.0.1:1 127.0.0.1:2" >>$OBJ/sshd_proxy
 
 # Test that a rule that doesn't match doesn't override, plus test a
 # PermitOpen entry that's not at the start of the list

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list