Red Hat Bugzilla – Bug 259741
Setting the root password from firstboot is broken
Last modified: 2009-01-07 13:09:07 EST
Description of problem:
The firstboot part of system-config-rootpassword does not allow to set a proper
root password. In fact you can only skip the dialog resulting in an empty root
Version-Release number of selected component (if applicable):
(Reading the changelog of the rawhide version there was no fix yet).
Install system-config-rootpassword, touch /etc/reconfigSys and reboot
Steps to Reproduce:
1. Start firstboot in reconfig mode
2. Try to set a proper root password
The "confirm password" input field is deactivated, you can only type in the
password once but not confirm it. To skip the dialog you have to leave the
password field empty (to match with the confirm password field) resulting in an
empty root password.
Be able to type in the password twice to get it set properly.
The "confirm password" field is deactivated. In the standalone version if will
be activated by the function "activation" (which checks the length and
strongness of the password).
However, in the firstboot version the activation function is never call,
resulting in a still deactivated confirm-field, even if a long and strong
password is typed in.
Simple fix is attached. Better fix would be to add the strongness indicator to
the firstboot dialog as well and call the activation function while typing.
Created attachment 176021 [details]
Do not change sensitivity of confirmEntry widget otherwise no input is possible since activation gets never called
User email@example.com's account has been closed
Matthias: Your patch seems well. I'll import it to devel shortly.
*** Bug 214962 has been marked as a duplicate of this bug. ***
I believe the issue has been fixed in system-config-rootpassword-1.99.0-1
(In reply to comment #5)
> I believe the issue has been fixed in system-config-rootpassword-1.99.0-1
I can confirm that the problem is fixed here (tried rawhide version 1.99.2-1).
I also tried with similar results. Thanks for your report and patch -- closing.