From: Andreas Müller Date: Sat, 27 Apr 2013 18:33:58 +0000 (+0000) Subject: gdm: avoid displaying system users in greeter's list X-Git-Tag: rev_ivi_2015_02_04~3239 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d4580c992361eb8e8fc7e08bb54acc1e620bda7;p=scm%2Fbb%2Ftizen-distro.git gdm: avoid displaying system users in greeter's list (From meta-openembedded rev: 088263913ae0ae7d8f678d473c057e72a1414d89) Signed-off-by: Andreas Müller Signed-off-by: Martin Jansa Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch b/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch new file mode 100644 index 0000000..ad21073 --- /dev/null +++ b/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm/0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch @@ -0,0 +1,34 @@ +From 43e59f3deadb3914a1cc931ae18d4023874cdeca Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Fri, 26 Apr 2013 17:15:48 +0200 +Subject: [PATCH] gdm-user-manager.c: avoid displaying system users in + greeter's list +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +yocto environment system users have UID below 1000 + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + gui/simple-greeter/gdm-user-manager.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/gui/simple-greeter/gdm-user-manager.c b/gui/simple-greeter/gdm-user-manager.c +index c631989..f18e478 100644 +--- a/gui/simple-greeter/gdm-user-manager.c ++++ b/gui/simple-greeter/gdm-user-manager.c +@@ -63,7 +63,7 @@ + #ifdef __sun + #define FALLBACK_MINIMAL_UID 100 + #else +-#define FALLBACK_MINIMAL_UID 500 ++#define FALLBACK_MINIMAL_UID 1000 + #endif + + #ifndef _PATH_SHELLS +-- +1.7.4.4 + diff --git a/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb index 87efc28..09a6f93 100644 --- a/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb +++ b/meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb @@ -4,13 +4,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb" -PR = "r16" +PR = "r17" inherit gnome update-rc.d systemd useradd SRC_URI += " \ file://cross-xdetection.diff \ file://0001-Remove-user-switch-applet.patch \ + file://0002-gdm-user-manager.c-avoid-displaying-system-users-in-.patch \ file://sysrooted-pkg-config.patch \ file://%gconf-tree.xml \ file://gdm \