- (djm) [sshd.c] Drop supplemental groups if started as root
diff --git a/sshd.c b/sshd.c
index 9462bf0..3308a8d 100644
--- a/sshd.c
+++ b/sshd.c
@@ -831,6 +831,9 @@
 	av = saved_argv;
 #endif
 
+	if (geteuid() == 0 && setgroups(0, NULL) == -1)
+		debug("setgroups(): %.200s", strerror(errno));
+
 	/* Initialize configuration options to their default values. */
 	initialize_server_options(&options);