5b62ac2
--- gdm-2.18.0/gui/gdmuser.c.hide-disabled-users	2007-05-15 11:44:45.000000000 -0400
5b62ac2
+++ gdm-2.18.0/gui/gdmuser.c	2007-05-15 11:45:34.000000000 -0400
5b62ac2
@@ -206,6 +206,12 @@
5b62ac2
     gint found = 0;
5b62ac2
     gchar *csh;
5b62ac2
 
5b62ac2
+    if (strcmp (usersh, "/sbin/nologin") == 0 ||
5b62ac2
+	strcmp (usersh, "/bin/true") == 0 ||
5b62ac2
+	strcmp (usersh, "/bin/false") == 0) {
5b62ac2
+      return 0;
5b62ac2
+    }
5b62ac2
+
5b62ac2
     setusershell ();
5b62ac2
 
5b62ac2
     while ((csh = getusershell ()) != NULL)