[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 the "Reset system passwords" function is not working correctly. I've just tried
    it again, for my own sanity, to see if the initial problem I encountered was not from my own
    mistake. I'm able to duplicate it.

    The first time I encountered this, I had to reinstall 7.450 again and then restored. Now since I
    have the drives already sync'd, I'm rebooting the system with the backup drive and have the
    locked drive resync'd.

    I'd be interested to see if anyone else can confirm this. Be warned. If it happens to be a bug,
    you will not be able to login either through the gui or ssh(loginuser or root).

    If' not a bug or a problem, I'm highly interested to know why my installation is acting this way.

    Thanks,
    jav
  • 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
Reply
  • 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
Children