All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hatle <mark.hatle@windriver.com>
To: <yocto@yoctoproject.org>
Subject: Re: Set root password with SHA512?
Date: Wed, 28 Oct 2015 09:29:05 -0500	[thread overview]
Message-ID: <5630DBB1.6010101@windriver.com> (raw)
In-Reply-To: <CAEpurxGQ9YK6x=6MNAvAM3UrhOzXAE1XQA49261tsTDnj_cSVQ@mail.gmail.com>

On 10/28/15 3:07 AM, Juha Vuorivirta wrote:
> I'm able to set the root password in /etc/shadow with adding
> ROOTFS_POSTPROCESS_COMMAND to .bb file. It seems that only DES works
> (yocto/oe-core etc. layers are pretty old though). Is it possible to enable
> SHA512 hashing for root password?
> Just replacing DES password with SHA512 is not enough, could not log in even
> password hash is correct in /etc/shadow file. Noticed that DES is default
> encryption method(in recipes-extended/shadow/...), how can I set it to SHA512,
> or is it even possible with this older set up?

If you are using PAM, you should be able to adjust the settings to enable SHA512
passwords.

I've not done it in a while, but this page might help you find the right settings.

https://wiki.archlinux.org/index.php/SHA_password_hashes

If you find things not working, please let us know.... it likely means they are
not using PAM and using their own password validation.

--Mark

> br,
> 
> 
> jv
> 
> 



  reply	other threads:[~2015-10-28 14:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28  8:07 Set root password with SHA512? Juha Vuorivirta
2015-10-28 14:29 ` Mark Hatle [this message]
2015-10-28 14:38 ` Paul Eggleton
     [not found]   ` <CAEpurxFnb-hjuNK7ud45nAGBv_T2sU2H1erSuNebKA27edA3bA@mail.gmail.com>
2015-10-29 10:01     ` Paul Eggleton

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=5630DBB1.6010101@windriver.com \
    --to=mark.hatle@windriver.com \
    --cc=yocto@yoctoproject.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.