diff options
author | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2020-01-30 19:41:20 +0300 |
---|---|---|
committer | Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> | 2020-01-30 20:01:04 +0300 |
commit | 8f3c2240f6dd48888e8552e905945ffcd62900a6 (patch) | |
tree | 7c1a0a602371cfc576f91a89a476a5c92f4c3c1f /virtual-media/src/state_machine.hpp | |
parent | de66bb8fdc5fcd0df7f75af71155852d0182d5c8 (diff) | |
download | provingground-8f3c2240f6dd48888e8552e905945ffcd62900a6.tar.xz |
Configure special user, if not set and in mfg mode
Configure special user with default passwod 0penBmc1, when
the root user is not set with any password, and mark the
password as expired, so that it will be forced to update on
first login. This method can be used when Host interface is
not available and we still need to enable root user.
Note: This feature is under VALIDATION_UNSECURE flag, and hence
will be available for reference only image.
Tested:
1. Built the image without debug-tweaks and flashed the same
2. Confirmed that root user is not enabled during regular boot
3. Pressed power button for 15 seconds during AC Cycle, and
entered manufacturing mode
4. Able to login to root user with password "0penBmc1" and
updated the password to the new one, due to force password update
5. Verified upon rebooting, the newly configured password can be
used to login to the serial console
Change-Id: I53e68ebbe24110a116816a29fe1bf5b3142b8bc2
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'virtual-media/src/state_machine.hpp')
0 files changed, 0 insertions, 0 deletions