IBM Verify

IBM Verify

Join this online user group to communicate across Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to recover admin password

  • 1.  How to recover admin password

    Posted Sat September 26, 2020 05:32 AM
    Although I do not have this issue, I've been looking everywhere for an answer, just in case...

    If for any reason, I forget the admin password, how do I reset it?

    ------------------------------
    Joao Goncalves
    Pyxis, Lda.
    Sintra
    +351 91 721 4994
    ------------------------------


  • 2.  RE: How to recover admin password

    Posted Sat September 26, 2020 10:40 AM
    Edited by Jon Harry Mon September 28, 2020 12:16 PM

    Hi Joao,

    *** Edited to correct original answer ***

    There is no "backdoor" for changing the Admin password without knowing the existing password. .  The admin user is an operating system user in the underlying Linux platform and so you need to have the current password in order to change it.  There is no access to root user that could perform a password reset.

    The only option is to rebuild the VM.  If you have a snapshot from the system, you can also potentially restore this to a new appliance. This is because the admin pw is not part of the snapshot so the password from the newly build appliance will remain. 

    https://www.ibm.com/support/knowledgecenter/en/SSPREK_9.0.7/com.ibm.isam.doc/admin/task/alps_managing_snapshots.html

    Jon.

    ------------------------------
    Jon Harry
    Consulting IT Security Specialist
    IBM
    ------------------------------



  • 3.  RE: How to recover admin password

    Posted Tue March 21, 2023 04:47 PM

    Hjacking an old thread...  Does anyone know if this has changed in the several years ISVA has matured?  If the admin@local on a virtual appliance is lost, but we can still login as a global administrator user (either via LDAP authentication or via local user account), is it possible to update the local administrator password using admin_cfg or other REST API call?  Thanks!



    ------------------------------
    Matt Jenkins
    ------------------------------



  • 4.  RE: How to recover admin password

    Posted Tue March 21, 2023 05:18 PM

    Matt,

     

    Unfortunately I don't believe that it is possible to change the admin password without knowing the current admin password.  Other users have permission to change the admin password, but the system still requires the current password to be supplied before it will allow a new password to be set.

     

    I hope that this helps.

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

     

     






  • 5.  RE: How to recover admin password

    Posted Tue March 21, 2023 06:09 PM

    Ugh, I was afraid you would say that.  Any chance this would be something that you all would entertain with an RFE/idea?  We've likely got a handful of appliances that, if we lost LDAP connectivity to, we would not be able to get back into.  Thanks Scott!



    ------------------------------
    Matt Jenkins
    ------------------------------



  • 6.  RE: How to recover admin password

    Posted Tue March 21, 2023 06:33 PM

    Matt,

     

    I assume that your issue is that you have 'lost' the admin password for some of your machines? 

     

    I assume that this is not currently a critical issue for you because you are still able to authenticate using an external registry, but if something happens to the external user registry you would then be unable to log in?

     

    I think that this would be a reasonable enhancement request.

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">

     

     

     






  • 7.  RE: How to recover admin password

    Posted Wed March 22, 2023 08:28 AM

    Thanks Scott, your assumption is correct.  We basically realized we had some appliances where the password is unknown, but we manage them day to day using LDAP authenticated accounts.

    I created idea ISAM-I-1180.

    Thanks!



    ------------------------------
    Matt Jenkins
    ------------------------------



  • 8.  RE: How to recover admin password

    Posted Wed March 22, 2023 11:00 AM

    If the snapshot contains everything you need, would the following work ?

    1. Take a snapshot and store it outside (media/network server)
    2. Factory reset the appliance
    3. Set the initial admin password
    4. Restore the snapshot


    ------------------------------
    José Pina Coelho
    IT Specialist at Kyndryl
    ------------------------------



  • 9.  RE: How to recover admin password

    Posted Wed March 22, 2023 12:18 PM

    Yes but that would require a significant outage on the virtual appliances in question.  Virtual appliance builds are complicated and lengthy in the environments (without going into a lot of detail).  So we try to avoid them at all costs (hence why we have been moving more towards containerization).

    One thing I did wonder, however, is that in the containers the admin password is now stored in the snapshot (I forget which v10 release this happened in).  This was done so that the admin password that is exposed via the container environment variable (and hence available to anyone with access to the container environment) is only used during the initial build of the configuration container.  I had wondered if this change of storing the admin password in the snapshot may have made it into the virtual appliances, since the codebases are similar.  I assume not, however, but honestly I haven't tried to take a snapshot, change the admin password, and restore the snapshot to see if the password changes back in newer versions.



    ------------------------------
    Matt Jenkins
    ------------------------------



  • 10.  RE: How to recover admin password

    Posted Thu September 14, 2023 11:21 AM

    Hi all,

    We ran exactly into this problem on Tuesday and we seem to have found a solution to reset the underlying linux "admin@local" password.

    We were unable to use our ActiveDirectory credentials for logging in to the LMI after a certificate change on our ActiveDirectory (we did import the new certificate beforehand, but forgot to import the new intermediary and root certs)

    So we had to login with the local admin to fix the situation, but unfortunately, the password stored in our password manager was incorrect.

    The solution suggested (and since validated) by one of our linux administrators was to boot the VM on a LiveCD, mount the isam filesystem, chroot on it and then manually change the password. We then booted the VM normally and where able to login to the LMI and via SSH with admin@local and its new password.

    This solution was used on a virtual appliance, I don't know if it would have worked on a hardware appliance (that could have disk encryption enabled by default)

    Anyway, if somebody runs into the same issue in the future, this solution could help him save a few hours :)



    ------------------------------
    André Leruitte
    ------------------------------