--- SeSubs.c.orig	Fri Apr 23 06:24:17 1993
+++ SeSubs.c	Thu Oct 21 16:53:17 1999
@@ -249,6 +249,8 @@
 
     if (setuid(getuid()) < 0)
       SePError("Failed to set effective uid");
+    if (setgid(getgid()) < 0)
+      SePError("Failed to set effective gid");
 
     if (*scmd == '\0') {
       SeNotice(FmtString1("Executing the shell ``%s''", shell));
