All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Keshav Peswani <keshavpeswani@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-gnome] Suggestion username and password in the login screen
Date: Wed, 15 Jul 2015 06:59:49 +0530	[thread overview]
Message-ID: <CAJJ_cjRPvVa9Uu=0jT3OCgPMKizq4+5s3r8q0izgnQm7eY=bNg@mail.gmail.com> (raw)

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


                 reply	other threads:[~2015-07-15  1:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJJ_cjRPvVa9Uu=0jT3OCgPMKizq4+5s3r8q0izgnQm7eY=bNg@mail.gmail.com' \
    --to=keshavpeswani@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.