[7.460][BUG][FIXED] Stuck on "Admin password setup"

Hello all.

I've decided to reset my password after restoring 7.402 and now I can't get past the
"Admin password setup" screen.

After entering the admin account password, I clicked on the "Set 'admin' password
button, it refreshes, then it returns on the same screen.

I've hard rebooted the system, can't login via web interface or loginuser now, and when
I opened the web gui, it returns the "Admin password setup" page again.

Has anyone tried resetting their admin/root/loginuser from the web interface and run
into the same issue?


Thanks,
jav
Parents
  • Since I had no access via web interface or command line, I had to perform a rescue using
    a Fedora CD. From there, I've reset the loginuser and root password. I then ran the standard
    system_password_reset procedure and it went through ok.

    I tried to login using the web interface but the problem still exist. After entering the admin
    password, it refreshes and then it goes back to the same page.

    I reinstalled the 7.450 beta, restored 7.402 and all looks good, but I'm not touching the reset
    admin password for now....at least not until the mirror is finished syncing. After that, I may
    just try resetting the password again and see if the problem is duplicated.

    jav
  • FYI, booting runlevel 1 from GRUB would have given you the same access as the Fedora disc.

    Barry
  • I can confirm, I just lost one of my beta box!

    I reset the passwd, logout of webmin just like what the document say" Security Note – The next person connecting to the Webadmin will be presented an Admin Password Setup dialog window. Thus, after resetting the passwords, you should usually quickly log out, reload the page in your browser, and set a new admin password."

    However, could not pass the "set a new admin password" part. It just keeps coming back with same prompt.
  • I can confirm this bug with resetting Admin password.
  • Hi,

    anyone knows how we can recover from this aside from doing a fresh install?

    I have not tried it but I imagine "system_password_reset" will trigger the same ""set a new admin password" which goes into a loop. FYI, I can no longer login to console via ssh to the system that I tested this bug. :-)

    Thks
  • I fixed my issue but I am surprised this is not listed as "CONFIRMED BUG" :-)
  • Hi,

    anyone knows how we can recover from this aside from doing a fresh install?



    See 
    http://www.astaro.org/astaro-beta-versions/asg-v7-500-beta/25989-7-45-bug-report-unable-reset-admin-password-logon.html

    The strange thing about the whole issue is that it seems to work fine if you call admin_pw_setup from console, but not when the webadmin calls it.

    If someone could delete /var/log/confd.log and /tmp/confd-debug.log, them do the password reset, then try to change the admin pw via webadmin a few times and send me the mentioned logs, I would be most interested.

    Sadly I still haven't found anyone here at Astaro who could reproduce it...
  • Hi Frank,

    Pls see attached, hope they help in debug this issue.

    Cheers

    Claude
    astaro_admin_reset.zip
  • Hi Frank,

    I am seeing "Use of uninitialized value in exists at /PerlApp/Node.pm line 216." in the debug log. I don't find /PerlApp/Node.pm on the system. 

    There is only one "Node.pm" and it is at "/var/sec/chroot-httpd/var/webadmin/libs/XML/Elemental/Node.pm" 

    I copied Node.pm to the /PerlApp/Node.pm and try assign a new admin passwd using webmin but it still not wking - the page refresh and go back to the same screen asking for new admin passwd.

    And this is in confd-debug.log while I am on webmin: this is "read access denied" and no longer complain abt missing "Node.pm":

    [14996] [index.plx] locked /cfg
    [14996] [index.plx] [system (127.0.0.1)] [admin_pw_setup] warn: id="3100" severity="warn" sys="System" sub="confd" name="R_PERM_DENIED (read access denied)" client="index.plx" facility="system" user="system" srcip="127.0.0.1" roles="ANONYMOUS" function="get" external="admin_pw_setup" nodelist="settings->password_complexity" perms="SUPERADMIN,ADMIN,NTTOPERATOR,AUDITOR"
    [14996] [index.plx] discarded changes and released lock on /cfg
    [14996] [index.plx] [system (127.0.0.1)] [] info: id="3108" severity="info" sys="System" sub="confd" name="reloading storage" client="index.plx" facility="system" user="system" srcip="127.0.0.1" version="5" storage="/cfg"
    [14996] [index.plx] locked /cfg
    [14996] [index.plx] discarded changes and released lock on /cfg
  • anyone looking at this? I don't think we can go live with next release with bug like this one.
  • Hi,

    you won't find the correct /PerlApp/Node.pm as it's compiled into confd binary.

    regarding to your issue: it seems that anonymous (and you are anonymous in case of resetting the password), hasn't got the rights to change the password. the weird thing is: i can't reproduce this issue here. neither via console nor webadmin.

    Cheers,

    Sascha Rudolph
    Senior Software Engineer, NSG

  • didn't think that was the right "Node.pm" what I was doing it, act of "desperado" :-)

    hmm, if no one from Astaro can confirm this, I will reinstall it one more time and test it out again (will be my third time by the way).

    And if it still happen, I will give you folks the public ip so that you can test it out.

    thks anyway.
Reply
  • didn't think that was the right "Node.pm" what I was doing it, act of "desperado" :-)

    hmm, if no one from Astaro can confirm this, I will reinstall it one more time and test it out again (will be my third time by the way).

    And if it still happen, I will give you folks the public ip so that you can test it out.

    thks anyway.
Children