File 06_rungetty-get_supplementary_groups_for_process.patch of Package rungetty

Index: rungetty-1.2/rungetty.c
===================================================================
--- rungetty-1.2.orig/rungetty.c
+++ rungetty-1.2/rungetty.c
@@ -605,6 +605,7 @@ main (int argc, char **argv)
   setgroups(0, NULL);
 
   setgid (u_group->gr_gid);
+  initgroups (user->pw_name, user->pw_gid);
   setuid (user->pw_uid);
 
   if (progpath)
openSUSE Build Service is sponsored by