All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [meta-gnome] Suggestion username and password in the login screen
@ 2015-07-15  1:29 Keshav Peswani
  0 siblings, 0 replies; only message in thread
From: Keshav Peswani @ 2015-07-15  1:29 UTC (permalink / raw)
  To: openembedded-devel

Hi ,

While creating a customized distro for raspiberrypi 2 with meta-gnome
layer, the login screen username in the gdm_2.32.2.bb in
the USERADD_PARAM_${PN} (line number 89) is gdm but no password is
specified. Hence, when we are unable to login as /etc/shadow file has an
entry '!' instead of '*' as password for user 'gdm'.
To have a workaround for this, I created an encrypted password for 'root'
and added the same. Please go through the patch :

*keshav@L-41WKG32:~/workspace/yocto/meta-openembedded$ git diff
meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb <http://gdm_2.32.2.bb>*
*diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
<http://gdm_2.32.2.bb> b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
<http://gdm_2.32.2.bb>*
*index 723eee8..f6b9315 100644*
*--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb <http://gdm_2.32.2.bb>*
*+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb <http://gdm_2.32.2.bb>*
*@@ -89,7 +89,7 @@ INITSCRIPT_NAME = "gdm"*
* INITSCRIPT_PARAMS = "start 99 5 . stop 20 0 1 2 3 6 ."*

* USERADD_PACKAGES = "${PN}"*
*-USERADD_PARAM_${PN} = "--system --no-create-home --home
${localstatedir}/lib/gdm --user-group gdm"*
*+USERADD_PARAM_${PN} = "-p ZUVZbV/4Ia06k --system --no-create-home --home
${localstatedir}/lib/gdm --user-group gdm"*

* pkg_postinst_${PN} () {*
* # Register up as default dm*


Here, I have two suggestions :

1. The username could be more specific such as 'gnome' or something
2. The password could be specified such as 'root' or an entry in the
gdm.conf file for a passwordless login for that user.

Kindly suggest.
Also, I am very new to this so can I send a patch for this. Please suggest.

Thanks
Keshav


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-15  1:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-15  1:29 [meta-gnome] Suggestion username and password in the login screen Keshav Peswani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.