source:
proiecte/PPPP/gdm/debian/patches/24_system_uid.patch
@
141
Last change on this file since 141 was 134, checked in by , 14 years ago | |
---|---|
File size: 2.5 KB |
-
daemon/gdm-user-manager.c
# # Description: Ignore users with UID < 1000 # Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/427462 # diff -Nur -x '*.orig' -x '*~' gdm-2.28.0/daemon/gdm-user-manager.c gdm-2.28.0.new/daemon/gdm-user-manager.c
old new 66 66 #ifdef __sun 67 67 #define DEFAULT_MINIMAL_UID 100 68 68 #else 69 #define DEFAULT_MINIMAL_UID 50069 #define DEFAULT_MINIMAL_UID 1000 70 70 #endif 71 71 72 72 #ifndef _PATH_SHELLS … … 539 539 return; 540 540 } 541 541 542 if (pwent->pw_uid < DEFAULT_MINIMAL_UID) { 543 return; 544 } 545 542 546 /* check exclusions up front */ 543 547 if (g_hash_table_lookup (manager->priv->exclusions, pwent->pw_name)) { 544 548 g_debug ("GdmUserManager: excluding user '%s'", pwent->pw_name); -
gui/gdmsetup/gdm-user-manager.c
diff -Nur -x '*.orig' -x '*~' gdm-2.28.0/gui/gdmsetup/gdm-user-manager.c gdm-2.28.0.new/gui/gdmsetup/gdm-user-manager.c
old new 66 66 #ifdef __sun 67 67 #define DEFAULT_MINIMAL_UID 100 68 68 #else 69 #define DEFAULT_MINIMAL_UID 50069 #define DEFAULT_MINIMAL_UID 1000 70 70 #endif 71 71 72 72 #ifndef _PATH_SHELLS … … 835 835 return; 836 836 } 837 837 838 if (pwent->pw_uid < DEFAULT_MINIMAL_UID) { 839 return; 840 } 841 838 842 /* check exclusions up front */ 839 843 if (g_hash_table_lookup (manager->priv->exclusions, pwent->pw_name)) { 840 844 g_debug ("GdmUserManager: excluding user '%s'", pwent->pw_name); -
gui/simple-greeter/gdm-user-manager.c
diff -Nur -x '*.orig' -x '*~' gdm-2.28.0/gui/simple-greeter/gdm-user-manager.c gdm-2.28.0.new/gui/simple-greeter/gdm-user-manager.c
old new 66 66 #ifdef __sun 67 67 #define DEFAULT_MINIMAL_UID 100 68 68 #else 69 #define DEFAULT_MINIMAL_UID 50069 #define DEFAULT_MINIMAL_UID 1000 70 70 #endif 71 71 72 72 #ifndef _PATH_SHELLS … … 909 909 return; 910 910 } 911 911 912 if (pwent->pw_uid < DEFAULT_MINIMAL_UID) { 913 return; 914 } 915 912 916 /* check exclusions up front */ 913 917 if (g_hash_table_lookup (manager->priv->exclusions, pwent->pw_name)) { 914 918 g_debug ("GdmUserManager: excluding user '%s'", pwent->pw_name);
Note: See TracBrowser
for help on using the repository browser.