Imperva Cyber Community

communities_1.jpg
 View Only
  • 1.  Forget MX CLI admin password

    Posted 07-11-2022 08:28
    Hi,

    I forget my MX CLI admin password, and I only have this account.
    Is there any solution to change the password?

    Thanks
    #On-PremisesWAF(formerlySecuresphere)

    ------------------------------
    danny chang
    Engineer
    Taipei
    ------------------------------


  • 2.  RE: Forget MX CLI admin password
    Best Answer

    Posted 07-12-2022 07:18
    Hi Danny,

    try this one: https://docs.imperva.com/howto/e1178545


    ------------------------------
    Karol Gruszczyński
    IT Security Expert
    Trafford IT
    Warsaw
    ------------------------------



  • 3.  RE: Forget MX CLI admin password

    Posted 07-12-2022 21:32
    Hi Karol

    It worked,

    Thanks a lot.

    ------------------------------
    danny chang
    Engineer
    Taipei
    ------------------------------



  • 4.  RE: Forget MX CLI admin password

    Posted 07-28-2022 12:31
    My problem is in the gateway. The guy who was administering the WAF has left and has not passed me the cli admin password of gateway. Is that the only way I can recover it is to reboot it?

    Thank you!

    ------------------------------
    Ken Chau
    IT Manager
    Central Hong Kong
    ------------------------------



  • 5.  RE: Forget MX CLI admin password

    Posted 07-28-2022 16:56
    Problem with the gateway.... Very similar problem but a different solution.
    You have several solutions, but every to do in the server room:
    1. You can reimage the gateway -> download the same version from FTP, and during the first configuration, you have to select option -> to replace the gateway. You have to use the same name, the same IP, and the same user "secure" password as on MX.
       The "secure" password you can check on MX using it: password_decode $(grep "name=\"secure\"" /opt/SecureSphere/etc/bootstrap.xml|cut -d\" -f4)
    2. You can use the console cable and try to log in on root. You can try to log in a lot of times because the root account won't lock. Maybe you wrote the root password in keypass or somewhere else.
    3. You can use this ->  https://docs.imperva.com/howto/d4ff0a18

    So, as you can see, you have only three ways to resolve your problem.
    I think the first option is the fastest.


    ------------------------------
    Karol Gruszczy?ski
    IT Security Expert
    Trafford IT
    Warsaw
    ------------------------------