All of lore.kernel.org
 help / color / mirror / Atom feed
* Default root password: 2.4 vs. 2.6
@ 2019-03-14 18:35 David Thompson
  2019-03-15  7:11 ` Thomaiyar, Richard Marian
  0 siblings, 1 reply; 3+ messages in thread
From: David Thompson @ 2019-03-14 18:35 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

When we transitioned our OpenBMC baseline from 2.4 to 2.6
we noticed that the default root password for our platform has
changed to "0penBmc".  This appears to come from the file:
meta-phosphor/conf/distro/include/phosphor-defaults.inc:
usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root;
And this password setting overrides the password we had chosen
in our machine's local.conf.sample.    We experimented but could not
find a way to prevent this override behavior.

Is this the intent with this change in 2.6 that all platforms by default
have root password of "0penBmc"?  Is there a way to have a platform
specific root password without changing "phosphor-defaults.inc"?

Regards,
Dave


[-- Attachment #2: Type: text/html, Size: 3027 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Default root password: 2.4 vs. 2.6
  2019-03-14 18:35 Default root password: 2.4 vs. 2.6 David Thompson
@ 2019-03-15  7:11 ` Thomaiyar, Richard Marian
  2019-03-15 16:53   ` David Thompson
  0 siblings, 1 reply; 3+ messages in thread
From: Thomaiyar, Richard Marian @ 2019-03-15  7:11 UTC (permalink / raw)
  To: David Thompson, openbmc

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

Hi Dave,

you should be able to override it in your local.conf.sample, please make 
sure you are using append and correct image name


(in local.conf.sample)

INHERIT += "extrausers"

EXTRA_USERS_PARAMS_append_pn-obmc-phosphor-image  = " \

usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \

"

or add your own image name (instead of obmc-phosphor-image after 
append_pn) for which you are building. With this it will override.

Let me know if you are facing any problem with this method.


regards,

Richard


On 3/15/2019 12:05 AM, David Thompson wrote:
>
> When we transitioned our OpenBMC baseline from 2.4 to 2.6
>
> we noticed that the default root password for our platform has
>
> changed to “0penBmc”.  This appears to come from the file:
>
> meta-phosphor/conf/distro/include/phosphor-defaults.inc:
>
> /usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root;/
>
> And this password setting overrides the password we had chosen
>
> in our machine’s local.conf.sample.    We experimented but could not
>
> find a way to prevent this override behavior.
>
> Is this the intent with this change in 2.6 that all platforms by default
>
> have root password of “0penBmc”?  Is there a way to have a platform
>
> specific root password without changing “phosphor-defaults.inc”?
>
> Regards,
>
> Dave
>

[-- Attachment #2: Type: text/html, Size: 7785 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Default root password: 2.4 vs. 2.6
  2019-03-15  7:11 ` Thomaiyar, Richard Marian
@ 2019-03-15 16:53   ` David Thompson
  0 siblings, 0 replies; 3+ messages in thread
From: David Thompson @ 2019-03-15 16:53 UTC (permalink / raw)
  To: Thomaiyar, Richard Marian, openbmc

[-- Attachment #1: Type: text/plain, Size: 1820 bytes --]

Thank you Richard, that method did work.

I was not utilizing the 'append' keyword properly.


  *   Dave


David Thompson
Sr. Staff Engineer, System SW
Mellanox Technologies
1900 West Park Drive, Suite 290
Westborough MA USA 01581
Direct: +1 508-475-6375



From: Thomaiyar, Richard Marian <richard.marian.thomaiyar@linux.intel.com>
Sent: Friday, March 15, 2019 3:12 AM
To: David Thompson <dthompson@mellanox.com>; openbmc@lists.ozlabs.org
Subject: Re: Default root password: 2.4 vs. 2.6


Hi Dave,

you should be able to override it in your local.conf.sample, please make sure you are using append and correct image name



(in local.conf.sample)

INHERIT += "extrausers"

EXTRA_USERS_PARAMS_append_pn-obmc-phosphor-image  = " \

usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root; \

"

or add your own image name (instead of obmc-phosphor-image after append_pn) for which you are building. With this it will override.

Let me know if you are facing any problem with this method.



regards,

Richard



On 3/15/2019 12:05 AM, David Thompson wrote:
When we transitioned our OpenBMC baseline from 2.4 to 2.6
we noticed that the default root password for our platform has
changed to "0penBmc".  This appears to come from the file:
meta-phosphor/conf/distro/include/phosphor-defaults.inc:
usermod -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' root;
And this password setting overrides the password we had chosen
in our machine's local.conf.sample.    We experimented but could not
find a way to prevent this override behavior.

Is this the intent with this change in 2.6 that all platforms by default
have root password of "0penBmc"?  Is there a way to have a platform
specific root password without changing "phosphor-defaults.inc"?

Regards,
Dave


[-- Attachment #2: Type: text/html, Size: 8971 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-15 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-14 18:35 Default root password: 2.4 vs. 2.6 David Thompson
2019-03-15  7:11 ` Thomaiyar, Richard Marian
2019-03-15 16:53   ` David Thompson

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.