The summary goal is: we want to understand if you can use u-boot to enter single user mode and reset a root password without needing any authentication. It looks like this is not possible with the current set up which is actually what we want. Our goal is to secure the u-boot environment to prevent a user from connecting a serial cable, accessing u-boot, and resetting a root password and gaining access to the command line by using "setenv" to pass an environment variable adding "single" to the boot command. From my testing, it looks like this is not possible which is what we want.
Is there a default maintenance password that we do not know of?
Is it by design that supplying the root password will not allow access to single user mode when a root password is set?
Some additional information:
When no root password is set, I can use u-boot to pass "single" to the boot command and access the system with no password.
When I set a root password, I can still use u-boot to pass "single" and boot the system, but then I am asked the following:
Login incorrect Give root password for system maintenance (or type Control-D for normal startup):
When I supply the root password, I cannot log in.
This behavior is ideal for our needs, as we want to be able to make sure that someone cannot reset the root password.
Thanks in advance for any assistance/clarification.