You Can reset admin password by login root user,
in case if you loss root user too, then you have to reset the password with Fedora ISO support.
https://docs.imperva.com/bundle/z-kb-articles-km/page/5cdf5ccb.html
------------------------------
MOHAMMED YASIN
Professional Services Consultant
StarLink DMCC
dubai WA
------------------------------
Original Message:
Sent: 05-14-2024 05:21
From: Shabnam Abbas
Subject: Reset Imperva GW user to default password for versions 12.0 and above
Hi Christopher,
I am unable to login as admin/ root user, forgot password. With SSH, only login as: is appearing. Kindly advise.
------------------------------
Shabnam Abbas
Consultant
Woqod - Qatar Fuel
Doha
Original Message:
Sent: 10-28-2019 14:11
From: Christopher Detzel
Subject: Reset Imperva GW user to default password for versions 12.0 and above
Hello Impervians!
For today's #ImpervaInsights we are sharing with you a common On-Prem question our Support team receives.
How do you reset an Imperva GW user to default password? (For versions 12.0 and above.)
What do our product experts have to say?
1. Connect to the Gateway via SSH using root user
2. Stop GW
#impctl gateway stop
3. Change "Imperva" user password
#impctl gateway password config --password=XXXXXX
4. Restart the GW
#impctl gateway restart
5. After restarting, check the gateway to make sure it's in running state
#impctl status
[root@GW~]#impctl status
gateway registered, running
watchdog running
NOTE: You will need to re-register all agents and type in the new password.
What additional On-Prem tips and tricks can you share with other users?
#On-PremisesWAF(formerlySecuresphere)
#AllImperva
------------------------------
Christopher Detzel
Community Manager
Imperva
Dallas TX
------------------------------